|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.converters.resultset.csv.CSVColumnStrategyFactory
A factory that creates column strategies for converting result sets into the CSV format. Only numeric and textual types are supported.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE |
private CSVConfigurator |
mConfigurator |
Constructor Summary | |
CSVColumnStrategyFactory(CSVConfigurator configurator) Constructs factory for column strategies. |
Method Summary | |
ColumnStrategy |
createColumnStrategy(int sqlType) Create and return a column strategy suitable for converting data of the specified SQL type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private CSVConfigurator mConfigurator
Constructor Detail |
public CSVColumnStrategyFactory(CSVConfigurator configurator)
configurator
- defining CSV file formatMethod Detail |
public ColumnStrategy createColumnStrategy(int sqlType)
ColumnStrategyFactory
createColumnStrategy
in interface ColumnStrategyFactory
sqlType
- SQL type constant from java.sql.Types
ColumnStrategy
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |