org.wings.util
Class LocaleCharSet
java.lang.Object
org.wings.util.LocaleCharSet
public class LocaleCharSet
- extends Object
Map Locale to html/iso character set via org/wings/util/charset.properties.
- Author:
- Andre Lison
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCODING
public static final String DEFAULT_ENCODING
- The default character encoding "UTF-8".
- See Also:
- Constant Field Values
LocaleCharSet
protected LocaleCharSet()
getInstance
public static LocaleCharSet getInstance()
- Get a instance of LocaleCharSet.
- Returns:
- Instance of LocaleCharset
getCharSet
public String getCharSet(Locale aLocale)
- Try to find a matching character set for this locale.
- Parameters:
aLocale - The Locale to retrieve the default charset for.
- Returns:
- if found the charset, DEFAULT_ENCODING otherwise
wingS Swings ;-)