public interface AQFormattedTextWriter extends AQDataWriter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLineDelimiter()
Returns delimited string.
|
void |
setDecimalSymbol(java.lang.String symbol)
Sets the character used for decimal sign for formatting NUMBER columns.
|
void |
setDefaultDateFormat(java.lang.String spec)
Sets default format for DATE columns, using the platform locale.
|
void |
setDefaultDateFormat(java.lang.String spec,
java.lang.Object locale)
Sets default format for DATE columns.
|
void |
setDefaultDateTimeFormat(java.lang.String spec)
Sets default format for DATETIME columns, using the platform locale.
|
void |
setDefaultDateTimeFormat(java.lang.String spec,
java.lang.Object locale)
Sets default format for DATETIME columns.
|
void |
setDefaultNumberFormat()
Sets default number format for NUMBER columns, using the platform locale.
|
void |
setDefaultNumberFormat(java.lang.Object locale)
Sets default number format for NUMBER columns, using the specified locale.
|
void |
setDefaultTimeFormat(java.lang.String spec)
Sets default format for TIME columns, using the platform locale.
|
void |
setDefaultTimeFormat(java.lang.String spec,
java.lang.Object locale)
Sets default format for TIME columns.
|
void |
setLineDelimiter(java.lang.String delimiter)
Sets line delimiter string.
|
void |
setNullString(java.lang.String nullString)
Sets a default string to be printed if the data is
null . |
close, setColumnStructure, write, write, write, write, writeColumnNames
void setDefaultDateFormat(java.lang.String spec)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.void setDefaultDateFormat(java.lang.String spec, java.lang.Object locale)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.locale
- Locale code of Locale
object.void setDefaultTimeFormat(java.lang.String spec)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.void setDefaultTimeFormat(java.lang.String spec, java.lang.Object locale)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.locale
- Locale code of Locale
object.void setDefaultDateTimeFormat(java.lang.String spec)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.void setDefaultDateTimeFormat(java.lang.String spec, java.lang.Object locale)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by SimpleDateFormat
.locale
- Locale code of Locale
object.void setDefaultNumberFormat()
AQColumnDescriptor.getSqlType()
, is known.void setDefaultNumberFormat(java.lang.Object locale)
AQColumnDescriptor.getSqlType()
, is known.locale
- Locale code of Locale
object.void setDecimalSymbol(java.lang.String symbol)
symbol
- The string used for decimal sign, only the first character is used.void setNullString(java.lang.String nullString)
null
.nullString
- the null stringvoid setLineDelimiter(java.lang.String delimiter)
delimiter
- Delimiter string.java.lang.String getLineDelimiter()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.