public class EncodingUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING
The DEFAULT encoding.
|
| Constructor and Description |
|---|
EncodingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String input)
Decode.
|
static String |
decode(String input,
String encoding)
Decode.
|
static String |
encode(String input)
Encodes the given String into the default encoding.
|
static String |
encode(String input,
String encoding)
Encodes the given String into the given encoding.
|
public static final String DEFAULT_ENCODING
public static String encode(String input)
input - The String to be encodedpublic static String encode(String input, String encoding)
input - The String to be encodedencoding - The encoding to be usedpublic static String decode(String input)
input - the inputCopyright © 2005–2016 Alfresco Software. All rights reserved.