Package xyz.cofe.data.table.store
Class CSVStore
java.lang.Object
xyz.cofe.data.table.store.CSVDesc
xyz.cofe.data.table.store.CSVStore
public class CSVStore extends CSVDesc
- Author:
- Kamnev Georgiy (nt.gocha@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class xyz.cofe.data.table.store.CSVDesc
CSVDesc.QuoteVariants -
Field Summary
Fields Modifier and Type Field Description protected xyz.cofe.typeconv.TypeCastGraphcastGraphprotected CSVUtilcsvUtilprotected java.util.List<CSVSpecialColumn>specialColumnsprotected booleanwriteAllRowsFields inherited from class xyz.cofe.data.table.store.CSVDesc
cellDelimiter, cellQuote, firstLineAsName, fixedColumns, fixedWidth, psupp, quoteVariants, skipEmptyLines, skipFirstWS, skipLines -
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringasString(java.lang.Object val)java.lang.ObjectasValueOf(java.lang.String str, java.lang.Class cls)CSVStoreclone()Клонирование объектаxyz.cofe.typeconv.TypeCastGraphgetCastGraph()java.util.List<CSVSpecialColumn>getSpecialColumns()booleanisWriteAllRows()voidsetCastGraph(xyz.cofe.typeconv.TypeCastGraph castGraph)voidsetSpecialColumns(java.util.List<CSVSpecialColumn> list)voidsetWriteAllRows(boolean writeAllRows)booleansupportDeserialize(java.lang.Class cls)booleansupportSerialize(java.lang.Class cls)protected java.lang.String[]toStringArray(DataTable dt, DataRow row)voidwrite(java.io.Writer out, DataTable table)voidwrite(xyz.cofe.text.out.Output out, DataTable table)protected voidwriteHeader(xyz.cofe.text.out.Output out, DataTable dt)Methods inherited from class xyz.cofe.data.table.store.CSVDesc
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getCellDelimiter, getCellQuote, getFixedColumns, getPropertyChangeListeners, getPropertyChangeListeners, getQuoteVariants, getSkipLines, isFirstLineAsName, isFixedWidth, isSkipEmptyLines, isSkipFirstWS, removePropertyChangeListener, removePropertyChangeListener, setCellDelimiter, setCellQuote, setFirstLineAsName, setFixedColumns, setFixedWidth, setQuoteVariants, setSkipEmptyLines, setSkipFirstWS, setSkipLines
-
Field Details
-
castGraph
protected xyz.cofe.typeconv.TypeCastGraph castGraph -
csvUtil
-
writeAllRows
protected boolean writeAllRows -
specialColumns
-
-
Constructor Details
-
Method Details
-
getCastGraph
public xyz.cofe.typeconv.TypeCastGraph getCastGraph() -
setCastGraph
public void setCastGraph(xyz.cofe.typeconv.TypeCastGraph castGraph) -
asString
public java.lang.String asString(java.lang.Object val) -
asValueOf
public java.lang.Object asValueOf(java.lang.String str, java.lang.Class cls) -
supportDeserialize
public boolean supportDeserialize(java.lang.Class cls) -
supportSerialize
public boolean supportSerialize(java.lang.Class cls) -
clone
Description copied from class:CSVDescКлонирование объекта -
isWriteAllRows
public boolean isWriteAllRows() -
setWriteAllRows
public void setWriteAllRows(boolean writeAllRows) -
getSpecialColumns
-
setSpecialColumns
-
write
-
write
-
writeHeader
-
toStringArray
-