Package com.iizix.text
Interface IEnumLocaleKString
- All Superinterfaces:
- IEnumLocaleString
- All Known Implementing Classes:
- LocaleString,- References.ReturnCode
Interface used by enum's to retrieve the "id" and the "fallback" strings when formatting values to locale String's and KString's.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- default KStringGets the KString for an enum value.- default KString- asKString- (SessionInfo sessionInfo) Gets the KString for an enum value.Gets the fallback KString.- Methods inherited from interface com.iizix.text.IEnumLocaleString- asString, asString, asString, getFallback, getID
- Method Details- getKStringFallbackKString getKStringFallback()Gets the fallback KString.- Returns:
- The fallback KString.
 
- asKStringGets the KString for an enum value. The string will be in the client session's language setting, the application session's setting or the default language setting and if none of these were found in the specified order, the- #fallback- Returns:
- The KString for the enum in most accurate locale.
 
- asKStringGets the KString for an enum value. The string will be in the client session's language setting, the application session's setting or the default language setting and if none of these were found in the specified order, the- #fallback- Parameters:
- sessionInfo- The session information, or- nullif not available. if- nullthe system will attempt to look up the current client or application session from the current thread.
- Returns:
- The KString for the enum in most accurate locale.