The BooleanDataFormat class contains the following constructors:
BooleanDataFormat(String falsevalue, String truevalue)
BooleanDataFormat(String falseValue, String trueValue, String nullValue)
Creates a BooleanDataFormat object for formatting false and true values.
public BooleanDataFormat(String falsevalue, String truevalue);
falsevalue | The string to use for false values. The default string is "False". |
truevalue | The string to use for true values. The default string is "True". |
Creates a BooleanDataFormat object for formatting false, true, and null values.
public BooleanDataFormat(String falseValue, String trueValue, String nullValue);
falsevalue | The string to use for false values. The default string is "False". |
truevalue | The string to use for true values. The default string is "True". |
nullValue | The string to use for null values. The default string is "(null)". |
If no value is passed for falseValue, trueValue, or nullValue, the corresponding default string is used. To explicitly use a default string, pass null for the parameter.