olg.csv.bean
Interface IPropertyProcessor<B>
- Type Parameters:
B
- bean the processor deals with.
- All Known Implementing Classes:
- AbstractPropertyProcessor, ComplexPropertyProcessor, PropertyProcessor
public interface IPropertyProcessor<B>
In reading process, set properties of a bean from a row.
Method Summary |
B |
transform(Row line,
B bean)
Returns the bean after this transformer sets its property from a row. |
transform
B transform(Row line,
B bean)
throws ParseException
- Returns the bean after this transformer sets its property from a row.
- Parameters:
line
- the row. list of strings which represents the property of the
beanbean
- the bean this transformer set property (or properties).
- Returns:
- the given bean.If the given bean is
null
a new
instance is created and returned.
- Throws:
ParseException
- if error occurs during parsing
Copyright © 2014. All Rights Reserved.