public interface AQTextProcessor extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
setCellDelimiter(String delimiter)
Sets cell delimiter character.
|
void |
setCloseDateQuoteIdentifier(String quoteIdentifier)
Sets closing quote identifier for Date and/or Time.
|
void |
setColumnWidth(int column,
int width)
Set fixed column width.
|
void |
setDateFormat(int column,
String spec)
Sets Date and/or Time format for the specified column, using the platform locale.
|
void |
setDateFormat(int column,
String spec,
Object locale)
Sets Date and/or Time format for the specified column, using the locale provided.
|
void |
setDateQuoteIdentifier(String quoteIdentifier)
Sets quote identifier for Date and/or Time.
|
void |
setFirstLineContainsColumnNames(boolean on)
Sets whether the input or output file contains column names in the first row.
|
void |
setNullString(int column,
String nullString)
Sets a string to be printed if the data in the specified column is
null . |
void |
setNumberFormat(int column)
Sets number format for the specified column, using the platform locale.
|
void |
setNumberFormat(int column,
Object locale)
Sets number format for the specified column, using the locale provided.
|
void |
setOpenDateQuoteIdentifier(String quoteIdentifier)
Sets opening quote identifier for Date and/or Time.
|
void |
setQuoteIdentifier(int column,
String quote)
Sets the quote identifier for the specified column.
|
void |
setQuoteIdentifier(String quoteIdentifier)
Sets default quote identifier.
|
void setDateFormat(int column, String spec)
column
- Column index.spec
- Format specification as defined by SimpleDateFormat
.void setDateFormat(int column, String spec, Object locale)
column
- Column index.spec
- Format specification as defined by SimpleDateFormat
.locale
- Locale code of Locale
object.void setNumberFormat(int column)
column
- Column index.void setNumberFormat(int column, Object locale)
column
- Column index.locale
- Locale code of Locale
object.void setColumnWidth(int column, int width)
column
- Column index.width
- Column width in characters.void setCellDelimiter(String delimiter)
delimiter
- the delimitervoid setQuoteIdentifier(String quoteIdentifier)
quoteIdentifier
- Quote identifier string (only the first character specifies the quote identifier character).void setQuoteIdentifier(int column, String quote)
column
- Column index.quote
- Quote identifier string (only the first character specifies the quote identifier character).void setDateQuoteIdentifier(String quoteIdentifier)
setOpenDateQuoteIdentifier(String quoteIdentifier)
and setCloseDateQuoteIdentifier(String quoteIdentifier)
should be used.quoteIdentifier
- Quote identifier stringvoid setOpenDateQuoteIdentifier(String quoteIdentifier)
quoteIdentifier
- Quote identifier stringvoid setCloseDateQuoteIdentifier(String quoteIdentifier)
quoteIdentifier
- Quote identifier stringvoid setNullString(int column, String nullString)
null
.column
- Column index.nullString
- the null stringvoid setFirstLineContainsColumnNames(boolean on)
on
- to turn the option on/off
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.