org.softsmithy.lib.text
Interface Localizer<T>

All Known Implementing Classes:
LocaleLocalizer

public interface Localizer<T>

Specifies a (possible localizable) string representation of an object that is appropriate to display to the user.

Author:
puce
See Also:
Localizable, Localizables

Method Summary
 String getDisplayString(T o, Locale inLocale)
          Returns a string that is appropriate to display to the user.
 

Method Detail

getDisplayString

String getDisplayString(T o,
                        Locale inLocale)
Returns a string that is appropriate to display to the user. If possible, the string returned will be localized according to inLocale.

Parameters:
o - the object to display
inLocale - the string returned will be localized according to this value, if possible
Returns:
a string that is appropriate to display to the user.


Copyright © 2002-2011 SoftSmithy. All Rights Reserved.