public final class BooleanFormatter extends DataFormatter implements java.lang.Cloneable
DataFormatter.BOOLEAN
.Constructor and Description |
---|
BooleanFormatter()
Constructs a new instance of BooleanFormatter.
|
BooleanFormatter(Buffer params)
Constructs a new instance of BooleanFormatter.
|
BooleanFormatter(int typeId,
java.lang.String mask)
Constructs a new instance of BooleanFormatter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this BooleanFormatter.
|
java.lang.String |
format(java.lang.Object value)
Transform a specified simple Java Object into a String.
|
int |
getTypeId()
Return the type ID supported by this DataFormatter.
|
java.lang.Object |
parse(java.lang.String text)
Transform a specified String into a simple Java Object.
|
debug, getBaseTypeId, getBaseTypeMarker, getTypeId, getTypeId, getTypeName
public BooleanFormatter(int typeId, java.lang.String mask) throws FndException
typeId
- must be DataFormatter.BOOLEAN
mask
- format maskFndException
public BooleanFormatter(Buffer params) throws FndException
params
- this parameter is ignoredFndException
public BooleanFormatter() throws FndException
FndException
public int getTypeId()
DataFormatter
getTypeId
in class DataFormatter
public java.lang.String format(java.lang.Object value)
DataFormatter
format
in class DataFormatter
public java.lang.Object parse(java.lang.String text) throws FndException
DataFormatter
parse
in class DataFormatter
FndException
public java.lang.Object clone()
clone
in class DataFormatter