org.alfresco.util
Class Utf7
java.lang.Object
org.alfresco.util.Utf7
public class Utf7
- extends java.lang.Object
Constructor Summary |
Utf7()
|
Method Summary |
static java.lang.String |
decode(java.lang.String string,
java.lang.String charsetName)
Convert string from UTF-7 characters |
static java.lang.String |
encode(java.lang.String string,
java.lang.String charsetName)
Convert string to UTF-7 characters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTF7
public static final java.lang.String UTF7
- See Also:
- Constant Field Values
UTF7_OPTIONAL
public static final java.lang.String UTF7_OPTIONAL
- See Also:
- Constant Field Values
UTF7_MODIFIED
public static final java.lang.String UTF7_MODIFIED
- See Also:
- Constant Field Values
Utf7
public Utf7()
decode
public static java.lang.String decode(java.lang.String string,
java.lang.String charsetName)
- Convert string from UTF-7 characters
- Parameters:
string
- Input string for decoding
- Returns:
- Decoded string
encode
public static java.lang.String encode(java.lang.String string,
java.lang.String charsetName)
- Convert string to UTF-7 characters
- Parameters:
string
- Input string for decoding
- Returns:
- Encoded string
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.