play.data.binding.types
Class FileArrayBinder

java.lang.Object
  extended by play.data.binding.types.FileArrayBinder
All Implemented Interfaces:
TypeBinder<java.io.File[]>

public class FileArrayBinder
extends java.lang.Object
implements TypeBinder<java.io.File[]>

Bind a file array form multipart/form-data request. This is nearly the same as the FileBinder, maybe some refactoring can be done. This is useful when you have a multiple on your input file.


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

Constructor Detail

FileArrayBinder

public FileArrayBinder()
Method Detail

bind

public java.io.File[] bind(java.lang.String name,
                           java.lang.annotation.Annotation[] annotations,
                           java.lang.String value,
                           java.lang.Class actualClass,
                           java.lang.reflect.Type genericType)
Specified by:
bind in interface TypeBinder<java.io.File[]>


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