| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ss.usermodel.BuiltinFormats
public final class BuiltinFormats
Utility to identify built-in formats. The following is a list of the formats as returned by this class.
0, "General"
| Field Summary | |
|---|---|
static int | 
FIRST_USER_DEFINED_FORMAT_INDEX
The first user-defined format starts at 164.  | 
| Constructor Summary | |
|---|---|
BuiltinFormats()
 | 
|
| Method Summary | |
|---|---|
static java.lang.String[] | 
getAll()
 | 
static java.lang.String | 
getBuiltinFormat(int index)
Get the format string that matches the given format index  | 
static int | 
getBuiltinFormat(java.lang.String pFmt)
Get the format index that matches the given format string Automatically converts "text" to excel's format string to represent text.  | 
static java.util.Map<java.lang.Integer,java.lang.String> | 
getBuiltinFormats()
Deprecated. (May 2009) use getAll() | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int FIRST_USER_DEFINED_FORMAT_INDEX
| Constructor Detail | 
|---|
public BuiltinFormats()
| Method Detail | 
|---|
public static java.util.Map<java.lang.Integer,java.lang.String> getBuiltinFormats()
getAll()
public static java.lang.String[] getAll()
public static java.lang.String getBuiltinFormat(int index)
index - of a built in format
null if there is not a built-in format at that indexpublic static int getBuiltinFormat(java.lang.String pFmt)
pFmt - string matching a built-in format
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||