Package com.poiji.config
Class DefaultCasting
- java.lang.Object
-
- com.poiji.config.DefaultCasting
-
-
Constructor Summary
Constructors Constructor Description DefaultCasting()DefaultCasting(boolean errorLoggingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcastValue(Field field, String rawValue, int row, int col, PoijiOptions options)List<DefaultCastingError>getErrors()protected ObjectgetValueObject(Field field, int row, int col, PoijiOptions options, String rawValue, Class<?> fieldType)booleanisErrorLoggingEnabled()
-
-
-
Method Detail
-
castValue
public Object castValue(Field field, String rawValue, int row, int col, PoijiOptions options)
-
getValueObject
protected Object getValueObject(Field field, int row, int col, PoijiOptions options, String rawValue, Class<?> fieldType)
-
isErrorLoggingEnabled
public boolean isErrorLoggingEnabled()
-
getErrors
public List<DefaultCastingError> getErrors()
-
-