public interface NumberFormatType extends NumberFormat
NUMBER_FORMAT_TYPE_BIBEANS
,
NUMBER_FORMAT_TYPE_OEO
,
NUMBER_FORMAT_TYPE_ORACLE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NUMBER_FORMAT_TYPE_BIBEANS
The BIBeans number format type.
|
static java.lang.String |
NUMBER_FORMAT_TYPE_OEO
The Oracle Express Objects (OEO) number format type.
|
static java.lang.String |
NUMBER_FORMAT_TYPE_ORACLE
The Oracle number format type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNumberFormatType()
Retrieves the number format type associated with the number format string.
|
void |
setNumberFormat(java.lang.String strNumberFormatString,
java.lang.String strNumberFormatType)
Specifies how a number should be formatted based on its number format type
and associated number format string.
|
void |
setNumberFormatType(java.lang.String strNumberFormatType)
Specifies the number format type associated with the number format string.
|
getNumberFormatString, setNumberFormatString
static final java.lang.String NUMBER_FORMAT_TYPE_OEO
String
represents an OEO number format mask
in the following format:
"number format; positive format; negative format; scale; chars-to-use",
For example, "0; $1; -1; /3; $=$; .=.;,=,"
would format seven
million dollars as $7,000
.static final java.lang.String NUMBER_FORMAT_TYPE_ORACLE
String
represents an Oracle number format mask,
as described in the Oracle9i SQL Reference Release 1 (9.0.1), Format Models
specification.static final java.lang.String NUMBER_FORMAT_TYPE_BIBEANS
String
represents a BIBeans number format mask,
which is an extension of the Oracle9i SQL Reference Release 1 (9.0.1), Format Model
.void setNumberFormatType(java.lang.String strNumberFormatType)
strNumberFormatType
- A String
that represents the type of
number format string.NUMBER_FORMAT_TYPE_BIBEANS
,
NUMBER_FORMAT_TYPE_OEO
,
NUMBER_FORMAT_TYPE_ORACLE
,
NumberFormat.setNumberFormatString(java.lang.String)
void setNumberFormat(java.lang.String strNumberFormatString, java.lang.String strNumberFormatType)
strNumberFormatString
- A String
value which contains the
number format mask.strNumberFormatType
- A String
that represents the type of
number format string.NUMBER_FORMAT_TYPE_BIBEANS
,
NUMBER_FORMAT_TYPE_OEO
,
NUMBER_FORMAT_TYPE_ORACLE
,
NumberFormat.setNumberFormatString(java.lang.String)
java.lang.String getNumberFormatType()
String
which is the number format type being used.NUMBER_FORMAT_TYPE_BIBEANS
,
NUMBER_FORMAT_TYPE_OEO
,
NUMBER_FORMAT_TYPE_ORACLE
,
NumberFormat.getNumberFormatString()