|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectolg.csv.bean.impl.BeanProcessor<B>
B - dedicated bean the transformer productspublic final class BeanProcessor<B>
In reading process, this class allows to product beans from list of Strings.
| Constructor Summary | |
|---|---|
BeanProcessor(Class<B> beanClass)
|
|
| Method Summary | |
|---|---|
boolean |
add(IPropertyProcessor<B> arg0)
Adds a concret propertyProcessor. |
boolean |
addAll(Collection<IPropertyProcessor<B>> arg0)
Adds a propertyProcessor collection. |
B |
transform(Row line)
Returns a new bean built from the given row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanProcessor(Class<B> beanClass)
beanClass - the class of beans the transformer returns. This class must be
conformed to bean class ( has a constructor with no arguments
and all its properties must be accessible with public getter
and mutable with public setter)| Method Detail |
|---|
public boolean add(IPropertyProcessor<B> arg0)
arg0 - the propertyProcessor to add.
public boolean addAll(Collection<IPropertyProcessor<B>> arg0)
arg0 - the collection. Must be not null.
public B transform(Row line)
transform in interface IBeanProcessor<B>line - list of String
null if Row Argument is null or this
transformer has no property transformer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||