public static class NumberType.FormatSpec
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
decimalPoint
Index of the decimal separator in this format.
|
java.lang.String |
digitsLeft
Left side digit specification.
|
java.lang.String |
digitsRight
Right side digit specification.
|
int |
embedIndex
The index position of an embedded parenthesis sign char.
|
java.lang.String |
fullFmt
The full format string that this specification defines.
|
int |
seps
Valid (left side) separators that can appear in output.
|
int |
signLeft
The left side sign specification of the mapped format string.
|
int |
signRight
The right side sign specification of the mapped format string.
|
java.lang.String |
userLeft
The left side user-specified text (emitted verbatim).
|
java.lang.String |
userRight
The right side user-specified text (emitted verbatim).
|
Constructor and Description |
---|
FormatSpec(java.lang.String fmt)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Writes the current state of the object into a formatted string.
|
public java.lang.String fullFmt
public int signLeft
public int signRight
public int embedIndex
public java.lang.String userLeft
public java.lang.String userRight
public int decimalPoint
public java.lang.String digitsLeft
public java.lang.String digitsRight
public int seps