public class XSSFDataFormat extends Object implements DataFormat
| Modifier | Constructor and Description |
|---|---|
protected |
XSSFDataFormat(StylesTable stylesSource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat(short index)
get the format string that matches the given format index
|
short |
getFormat(String format)
Get the format index that matches the given format
string, creating a new format entry if required.
|
String |
getRawFormat(short index)
get the format string that matches the given format index
|
short |
newFormat(String format)
create a new data format and return its index.
|
protected XSSFDataFormat(StylesTable stylesSource)
public short getFormat(String format)
getFormat in interface DataFormatformat - string matching a built in formatpublic String getFormat(short index)
getFormat in interface DataFormatindex - of a formatpublic String getRawFormat(short index)
getRawFormat in interface DataFormatindex - of a formatpublic short newFormat(String format)
DataFormatnewFormat in interface DataFormatformat - number format codeCopyright © 2020. All rights reserved.