Package com.iizix.prop
Class AppLanguages.Result
java.lang.Object
com.iizix.prop.AppLanguages.Result
- Enclosing class:
- AppLanguages
The result of the language code look-up.
Field Summary
Modifier and TypeFieldDescriptionfinal String
The application-defined language code to use, never null.final boolean
Flag indicating that the result is a default result as the application doesn't have language support set-up or does not provide a default language as fall-back.final String
The user language code to use if non-null.Method Summary
Field Details
applicationLanguageCode
The application-defined language code to use, never null.userLanguageCode
The user language code to use if non-null.When this value is non-null, the user language code must be changed in order to match the application UI on the client side, i.e. date/time and other locale information must be changed to match this language code.
If this variable is null, the user can keep it's locale settings as is.
isUnknownLanguage
public final boolean isUnknownLanguageFlag indicating that the result is a default result as the application doesn't have language support set-up or does not provide a default language as fall-back.
Method Details
equals
Checks if two results equals.hashCode
public int hashCode()Hash code.toString
Returns a string representation of the result.