org.apache.poi.xssf.usermodel
Class XSSFDataFormat
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFDataFormat
-
- All Implemented Interfaces:
- DataFormat
public class XSSFDataFormat extends java.lang.Object implements DataFormat
Handles data formats for XSSF.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetFormat(int index)get the format string that matches the given format indexjava.lang.StringgetFormat(short index)get the format string that matches the given format indexshortgetFormat(java.lang.String format)Get the format index that matches the given format string, creating a new format entry if required.
-
-
-
Method Detail
-
getFormat
public short getFormat(java.lang.String format)
Get the format index that matches the given format string, creating a new format entry if required. Aliases text to the proper format as required.- Specified by:
getFormatin interfaceDataFormat- Parameters:
format- string matching a built in format- Returns:
- index of format.
-
getFormat
public java.lang.String getFormat(short index)
get the format string that matches the given format index- Specified by:
getFormatin interfaceDataFormat- Parameters:
index- of a format- Returns:
- string represented at index of format or null if there is not a format at that index
-
getFormat
public java.lang.String getFormat(int index)
get the format string that matches the given format index- Parameters:
index- of a format- Returns:
- string represented at index of format or null if there is not a format at that index
-
-
DataMelt 3.0 © DataMelt by jWork.ORG