olg.csv.bean
Interface IPropertyProcessor<B>

Package class diagram package IPropertyProcessor
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.
 

Method Detail

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 bean
bean - 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.