org.apache.wicket.extensions.util.encoding
Class CharSetUtil
java.lang.Object
org.apache.wicket.extensions.util.encoding.CharSetUtil
public class CharSetUtil
- extends Object
Utility class. Initialize Locale to character encoding mapping based on defaults and optionally a
properties file CharSetMap.CHARSET_RESOURCE to be found in WEB-INF.
- Author:
- Jonathan Locke, Juergen Donnerstag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharSetUtil
public CharSetUtil()
- Constructor
getEncoding
public static final String getEncoding(RequestCycle cycle)
- Based on the Session's locale determine the associated character encoding.
- Parameters:
cycle
-
- Returns:
- Char set to use for response.
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.