public final class LiteralBooleanFormat extends BooleanFormatEntity
Constructor and Description |
---|
LiteralBooleanFormat() |
Modifier and Type | Method and Description |
---|---|
String |
displayValue(String booleanValue)
Returns the
booleanValue to display in the exported file. |
String |
format()
Returns string value of this
LiteralBooleanFormat . |
parse
public static final String VALUE
public String displayValue(String booleanValue)
booleanValue
to display in the exported file.displayValue
in class BooleanFormatEntity
booleanValue
- specifies the boolean value ('TRUE' or 'FALSE'). If booleanValue
is 'TRUE' or 'FALSE', the method returns corresponding value to display ('Y') or ('N'). Otherwise, it returns the input booleanValue
.public String format()
LiteralBooleanFormat
.format
in class BooleanFormatEntity