play.data.binding.types
Class UploadArrayBinder

java.lang.Object
  extended by play.data.binding.types.UploadArrayBinder
All Implemented Interfaces:
TypeBinder<Model.BinaryField[]>

public class UploadArrayBinder
extends java.lang.Object
implements TypeBinder<Model.BinaryField[]>

Bind file form multipart/form-data request to an array of Upload object. This is useful when you have a multiple on your input file.


Constructor Summary
UploadArrayBinder()
           
 
Method Summary
 Upload[] bind(java.lang.String name, java.lang.annotation.Annotation[] annotations, java.lang.String value, java.lang.Class actualClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadArrayBinder

public UploadArrayBinder()
Method Detail

bind

public Upload[] bind(java.lang.String name,
                     java.lang.annotation.Annotation[] annotations,
                     java.lang.String value,
                     java.lang.Class actualClass)
Specified by:
bind in interface TypeBinder<Model.BinaryField[]>


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly