public final class BuiltinFormats
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
FIRST_USER_DEFINED_FORMAT_INDEX |
The first user-defined format starts at 164.
|
Constructor | Description |
---|---|
BuiltinFormats() |
Modifier and Type | Method | Description |
---|---|---|
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
|
static java.util.Map<java.lang.Integer,java.lang.String> |
getBuiltinFormats() |
Deprecated.
(May 2009) use
getAll() |
public static final int FIRST_USER_DEFINED_FORMAT_INDEX
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 formatnull
if there is not a built-in format at that indexpublic static int getBuiltinFormat(java.lang.String pFmt)
pFmt
- string matching a built-in formatCopyright 2018 The Apache Software Foundation or its licensors, as applicable.