public final class FixedWidthSaveOptions extends SaveOptions
Constructor and Description |
---|
FixedWidthSaveOptions(FixedWidthColumn... columns)
Initializes a new instance of the
FixedWidthSaveOptions class. |
FixedWidthSaveOptions(Iterable<FixedWidthColumn> columns)
Initializes a new instance of the
FixedWidthSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset()
Gets the charset for the Fixed-Width Text file.
|
List<FixedWidthColumn> |
getColumns()
Gets the List of column definitions for saving data.
|
String |
getContentType()
Gets the content-type for Fixed-Width Text file format: "text/plain; charset=" +
getCharset() .name(). |
FileFormatLimitations |
getLimitations()
Gets limitations for saving to Fixed-Width Text file format.
|
static FileFormatLimitations |
getLimitationsInternal() |
Locale |
getLocale()
Gets the locale for the Fixed-Width Text file.
|
int |
getStartRow()
Gets the index of the first row of data being saved to Fixed-Width Text file.
|
void |
setCharset(Charset charset)
Gets the charset for the Fixed-Width Text file.
|
void |
setLocale(Locale locale)
Gets the locale for the Fixed-Width Text file.
|
void |
setStartRow(int startRow)
Sets the index of the first row of data being saved to Fixed-Width Text file.
|
getCsvDefault, getHtmlDefault, getOdsDefault, getXlsDefault, getXlsxDefault
public FixedWidthSaveOptions(FixedWidthColumn... columns)
FixedWidthSaveOptions
class.columns
- The column definitions for Fixed-Width Text file.public FixedWidthSaveOptions(Iterable<FixedWidthColumn> columns)
FixedWidthSaveOptions
class.columns
- The column definitions for Fixed-Width Text file.public Charset getCharset()
public List<FixedWidthColumn> getColumns()
public String getContentType()
getCharset()
.name().getContentType
in class SaveOptions
public FileFormatLimitations getLimitations()
Integer.MAX_VALUE
Integer.MAX_VALUE
Integer.MAX_VALUE
Integer.MAX_VALUE
getLimitations
in class SaveOptions
public static FileFormatLimitations getLimitationsInternal()
public Locale getLocale()
public int getStartRow()
public void setCharset(Charset charset)
NullPointerException
- Value is set to null.public void setLocale(Locale locale)
NullPointerException
- Value is set to null.public void setStartRow(int startRow)
© GemBox Ltd. — All rights reserved.