Package com.iizix.prop
Class References.Result
java.lang.Object
com.iizix.prop.References.Result
- All Implemented Interfaces:
- ILocaleKStringFormatter,- ILocaleStringFormatter
- Enclosing class:
- References
Class containing result found during reference collection.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from interface com.iizix.text.ILocaleStringFormatter- EMPTY
- Method SummaryModifier and TypeMethodDescriptionFast English string with parameters.- Object[]- getFormatterParams- (ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the parameters used to format the String.- getFormatterString- (ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the String used to format the locale string.- IGProp<?>Gets the reference source property.- IGProp<?>Gets the reference target property.Gets the return code.- booleanChecks if the result of the operation was a success.- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait- Methods inherited from interface com.iizix.text.ILocaleKStringFormatter- getFormatterKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocaleKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString, getMessageLocalePlainKString- Methods inherited from interface com.iizix.text.ILocaleStringFormatter- getMessageLocaleString, getMessageLocaleString, getMessageLocaleString, getMessageLocaleString, getMessageLocaleString, getMessageLocaleString
- Method Details- isSuccesspublic boolean isSuccess()Checks if the result of the operation was a success.- Returns:
- trueif the- returnCodeis- References.ReturnCode.SUCCESS.
 
- getReturnCodeGets the return code.- Returns:
- The return code.
 
- getReferenceSourceGets the reference source property.- Returns:
- The source of the reference.
 
- getReferenceTargetGets the reference target property.- Returns:
- The target reference.
 
- getFormatterStringpublic String getFormatterString- (ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the String used to format the locale string.- Specified by:
- getFormatterStringin interface- ILocaleStringFormatter
- Parameters:
- localeString- The locale string instance, or- nullto look it up from current thread or system.
- provider- The information provider or- nullfor none.
- localeInfo- The Locale information, or- nullto look it up from the current thread if needed.
- Returns:
- The locale string to format with potential parameters.
 
- getFormatterParamspublic Object[] getFormatterParams- (ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the parameters used to format the String.- Specified by:
- getFormatterParamsin interface- ILocaleStringFormatter
- Parameters:
- localeString- The locale string instance, or- nullto look it up from current thread or system.
- provider- The information provider or- nullfor none.
- localeInfo- The Locale information, or- nullto look it up from the current thread if needed.
- Returns:
- An array of parameters used to format the String. The return value can be set to nullin which case an empty array is used for the formatter.
 
- getEnglishMessageFast English string with parameters.- Returns:
- The formatted string with its parameters.