play.data.binding
Class Binder

java.lang.Object
  extended by play.data.binding.Binder

public class Binder
extends Object

The binder try to convert String values to Java objects.


Field Summary
static Object MISSING
           
 
Constructor Summary
Binder()
           
 
Method Summary
static Object bind(String name, Class<?> clazz, Type type, Map<String,String[]> params)
           
static Object directBind(String value, Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MISSING

public static Object MISSING
Constructor Detail

Binder

public Binder()
Method Detail

bind

public static Object bind(String name,
                          Class<?> clazz,
                          Type type,
                          Map<String,String[]> params)

directBind

public static Object directBind(String value,
                                Class clazz)
                         throws Exception
Throws:
Exception


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