| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | Returns: BooleanString that should represent a Boolean value)Implements abstract com. Converts localized text into a |
| protected String | Returns: Localized text value for "true" or "false"Overrides com. This method takes the current value of the field in question in the bean passed in and converts it to a string. |
| protected abstract String[] | Returns: An array of all "false" stringsThis represents a list of all values accepted as "false". |
| protected abstract String[] | Returns: An array of all "true" stringsThis represents a list of all values accepted as "true". |
| protected abstract String | Returns: The canonical name offalse in this languageThis is the string for "false" in the localized language. |
| protected abstract String | Returns: The canonical name oftrue in this languageThis is the string for "true" in the localized language. |
| ConverterLanguageToBoolean | back to summary |
|---|---|
| public ConverterLanguageToBoolean() | |
| convert | back to summary |
|---|---|
| protected Object convert(String value) throws CsvDataTypeMismatchException Implements abstract com. Converts localized text into a
| |
| convertToWrite | back to summary |
|---|---|
| protected String convertToWrite(Object value) throws CsvDataTypeMismatchException Overrides com. This method takes the current value of the field in question in the bean passed in and converts it to a string. This implementation returns true/false values in the localized language.
| |
| getAllLocalizedFalseValues | back to summary |
|---|---|
| protected abstract String[] getAllLocalizedFalseValues() This represents a list of all values accepted as "false". Any language will have more than one way to say "false", such as "no", "n", or "0". This array should list all possibilities. Comparison is done in a case-insensitive fashion.
| |
| getAllLocalizedTrueValues | back to summary |
|---|---|
| protected abstract String[] getAllLocalizedTrueValues() This represents a list of all values accepted as "true". Any language will have more than one way to say "true", such as "yes", "y", or "1". This array should list all possibilities. Comparison is done in a case-insensitive fashion.
| |
| getLocalizedFalse | back to summary |
|---|---|
| protected abstract String getLocalizedFalse() This is the string for "false" in the localized language. This value will be used on converting from a boolean to a string.
| |
| getLocalizedTrue | back to summary |
|---|---|
| protected abstract String getLocalizedTrue() This is the string for "true" in the localized language. This value will be used on converting from a boolean to a string.
| |