public final class StringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeString(String s) |
static String |
escapeURIString(String s) |
static String |
md5SumOf(String plaintext) |
static String |
percentDecode(String s) |
static String |
percentEncode(String s) |
static String |
sha1SumOf(String plaintext) |
static String |
unescapeString(String s) |
static String |
unescapeUriString(String s) |
public static String unescapeString(String s) throws RippleException
RippleExceptionpublic static String unescapeUriString(String s) throws RippleException
RippleExceptionpublic static String percentEncode(String s) throws RippleException
s - a string to encode. Uses the UTF-8 character set.RippleException - if encoding failspublic static String percentDecode(String s) throws RippleException
s - percent-encoded (per RFC 3986) string to decode. Uses the UTF-8 character set.RippleException - if decoding failspublic static String sha1SumOf(String plaintext) throws RippleException
RippleExceptionpublic static String md5SumOf(String plaintext) throws RippleException
RippleExceptionCopyright © 2007-2012 fortytwo.net. All Rights Reserved.