jodd.bean.loader
Class MultipartRequestBeanLoader

java.lang.Object
  extended by jodd.bean.loader.MultipartRequestBeanLoader
All Implemented Interfaces:
BeanLoader

public class MultipartRequestBeanLoader
extends java.lang.Object
implements BeanLoader

Populates java bean from MultipartRequest objects.


Constructor Summary
MultipartRequestBeanLoader()
           
MultipartRequestBeanLoader(boolean trim)
           
 
Method Summary
 void load(java.lang.Object bean, java.lang.Object request)
          Loads values from given source into the destination bean.
static void loadBean(java.lang.Object bean, java.lang.Object request, boolean trim)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartRequestBeanLoader

public MultipartRequestBeanLoader()

MultipartRequestBeanLoader

public MultipartRequestBeanLoader(boolean trim)
Method Detail

loadBean

public static void loadBean(java.lang.Object bean,
                            java.lang.Object request,
                            boolean trim)

load

public void load(java.lang.Object bean,
                 java.lang.Object request)
Description copied from interface: BeanLoader
Loads values from given source into the destination bean. All properties from source object will be iterated to be set into the destination.

Specified by:
load in interface BeanLoader
Parameters:
bean - instance that will be populated
request - object to populate from


Copyright ©2008 Jodd Team