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 DataFormat
format
- string matching a built in formatpublic String getFormat(short index)
getFormat
in interface DataFormat
index
- of a formatpublic String getRawFormat(short index)
getRawFormat
in interface DataFormat
index
- of a formatpublic short newFormat(String format)
DataFormat
newFormat
in interface DataFormat
format
- number format codeCopyright © 2020. All rights reserved.