public final class BuiltinFormats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_USER_DEFINED_FORMAT_INDEX
The first user-defined format starts at 164.
|
Constructor and Description |
---|
BuiltinFormats() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getAll() |
static java.lang.String |
getBuiltinFormat(int index)
Get the format string that matches the given format index
|
static java.lang.String |
getBuiltinFormat(int index,
java.util.Locale locale) |
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() |
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 formatpublic static java.lang.String getBuiltinFormat(int index, java.util.Locale locale)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.