|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.usermodel.HSSFDataFormat
public final class HSSFDataFormat
Identifies both built-in and user defined formats within a workbook.
SeeBuiltinFormats for a list of supported built-in formats.
International Formats
| Method Summary | |
|---|---|
static java.lang.String |
getBuiltinFormat(short index)
get the format string that matches the given format index |
static short |
getBuiltinFormat(java.lang.String format)
get the format index that matches the given format string |
static java.util.List<java.lang.String> |
getBuiltinFormats()
|
java.lang.String |
getFormat(short index)
get the format string that matches the given format index |
short |
getFormat(java.lang.String pFormat)
Get the format index that matches the given format string, creating a new format entry if required. |
static int |
getNumberOfBuiltinBuiltinFormats()
get the number of built-in and reserved builtinFormats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.lang.String> getBuiltinFormats()
public static short getBuiltinFormat(java.lang.String format)
Automatically converts "text" to excel's format string to represent text.
format - string matching a built in format
public short getFormat(java.lang.String pFormat)
getFormat in interface DataFormatpFormat - string matching a built in format
public java.lang.String getFormat(short index)
getFormat in interface DataFormatindex - of a format
public static java.lang.String getBuiltinFormat(short index)
index - of a built in format
public static int getNumberOfBuiltinBuiltinFormats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||