com.silverpeas.portlets.portal
Class I18n

java.lang.Object
  extended by com.silverpeas.portlets.portal.I18n

public class I18n
extends Object

I18n class provides methods to decode the value based on the character sets.


Field Summary
static String ASCII_CHARSET
           
static String DEFAULT_CHARSET
           
 
Constructor Summary
I18n()
           
 
Method Summary
static String decodeCharset(String s, String charset)
           
static String encodeCharset(String s, String charset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
See Also:
Constant Field Values

ASCII_CHARSET

public static final String ASCII_CHARSET
See Also:
Constant Field Values
Constructor Detail

I18n

public I18n()
Method Detail

decodeCharset

public static String decodeCharset(String s,
                                   String charset)

encodeCharset

public static String encodeCharset(String s,
                                   String charset)


Copyright © 2016 Silverpeas. All Rights Reserved.