|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.commons.httpclient.URI
|
+--org.apache.commons.httpclient.util.URIUtil.Coder
The basic and internal utility for URI escape and character encoding and decoding.
| Inner classes inherited from class org.apache.commons.httpclient.URI |
URI.DefaultCharsetChanged, URI.LocaleToCharsetMap |
| Constructor Summary | |
protected |
URIUtil.Coder()
Deprecated. |
| Method Summary | |
static String |
decode(char[] escapedComponent,
String charset)
Deprecated. use org.apache.commons.codec.net.URLCodec |
static char[] |
encode(String unescapedComponent,
BitSet allowed,
String charset)
Deprecated. use org.apache.commons.codec.net.URLCodec |
static String |
replace(String original,
char[] from,
char[] to)
Deprecated. Replace from a given character to given character in an array order for a given string. |
static String |
replace(String original,
char from,
char to)
Deprecated. Replace from a given character to given character for a given string. |
static boolean |
verifyEscaped(char[] original)
Deprecated. Verify whether a given string is escaped or not |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected URIUtil.Coder()
| Method Detail |
public static char[] encode(String unescapedComponent,
BitSet allowed,
String charset)
throws URIException
unescapedComponent - an unescaped componentallowed - allowed characters not to be escapedcharset - the charset to encodeURIException - if the charset is not supported
public static String decode(char[] escapedComponent,
String charset)
throws URIException
escapedComponent - an being-unescaped componentcharset - the charset to decodeURIException - if the charset is not supportedpublic static boolean verifyEscaped(char[] original)
original - given characters
public static String replace(String original,
char[] from,
char[] to)
original - a given stringfrom - a replacing character arrayto - a replaced character array
public static String replace(String original,
char from,
char to)
original - a given stringfrom - a replacing character arrayto - a replaced character array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||