Boolean.
This class also demonstrates how to localize booleans for any other language.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String[] | |
| private static final String[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String[] | getAllLocalizedFalseValues()
Implements abstract com. This represents a list of all values accepted as "false". |
| protected String[] | getAllLocalizedTrueValues()
Implements abstract com. This represents a list of all values accepted as "true". |
| protected String | getLocalizedFalse()
Implements abstract com. This is the string for "false" in the localized language. |
| protected String | getLocalizedTrue()
Implements abstract com. This is the string for "true" in the localized language. |
| FALSCH | back to summary |
|---|---|
| private static final String FALSCH | |
| FALSE_STRINGS | back to summary |
|---|---|
| private static final String[] FALSE_STRINGS | |
| TRUE_STRINGS | back to summary |
|---|---|
| private static final String[] TRUE_STRINGS | |
| WAHR | back to summary |
|---|---|
| private static final String WAHR | |
| ConvertGermanToBoolean | back to summary |
|---|---|
| public ConvertGermanToBoolean() Silence code style checker by adding a useless constructor. | |
| getAllLocalizedFalseValues | back to summary |
|---|---|
| protected String[] getAllLocalizedFalseValues() Implements abstract com. Doc from com. 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 String[] getAllLocalizedTrueValues() Implements abstract com. Doc from com. 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 String getLocalizedFalse() Implements abstract com. Doc from com. 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 String getLocalizedTrue() Implements abstract com. Doc from com. This is the string for "true" in the localized language. This value will be used on converting from a boolean to a string.
| |