Package org.apache.poi.ss.usermodel
Interface DataFormat
-
- All Known Implementing Classes:
HSSFDataFormat
public interface DataFormat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFormat(short index)get the format string that matches the given format indexshortgetFormat(String format)get the format index that matches the given format string.
-
-
-
Method Detail
-
getFormat
short getFormat(String format)
get the format index that matches the given format string. Creates a new format if one is not found. Aliases text to the proper format.- Parameters:
format- string matching a built in format- Returns:
- index of format.
-
getFormat
String getFormat(short 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
-
-