|
Knopflerfish OSGi 5.2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.httpclient.URI
org.apache.commons.httpclient.util.URIUtil.Coder
protected static class URIUtil.Coder
The basic and internal utility for URI escape and character encoding and decoding.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.httpclient.URI |
|---|
URI.DefaultCharsetChanged, URI.LocaleToCharsetMap |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
URIUtil.Coder()
Deprecated. |
| Method Summary | |
|---|---|
static java.lang.String |
decode(char[] escapedComponent,
java.lang.String charset)
Deprecated. use org.apache.commons.codec.net.URLCodec |
static char[] |
encode(java.lang.String unescapedComponent,
java.util.BitSet allowed,
java.lang.String charset)
Deprecated. use org.apache.commons.codec.net.URLCodec |
static java.lang.String |
replace(java.lang.String original,
char[] from,
char[] to)
Deprecated. Replace from a given character to given character in an array order for a given string. |
static java.lang.String |
replace(java.lang.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(java.lang.String unescapedComponent,
java.util.BitSet allowed,
java.lang.String charset)
throws URIException
unescapedComponent - an unescaped componentallowed - allowed characters not to be escapedcharset - the charset to encode
URIException - if the charset is not supported
public static java.lang.String decode(char[] escapedComponent,
java.lang.String charset)
throws URIException
escapedComponent - an being-unescaped componentcharset - the charset to decode
URIException - if the charset is not supportedpublic static boolean verifyEscaped(char[] original)
original - given characters
public static java.lang.String replace(java.lang.String original,
char[] from,
char[] to)
original - a given stringfrom - a replacing character arrayto - a replaced character array
public static java.lang.String replace(java.lang.String original,
char from,
char to)
original - a given stringfrom - a replacing character arrayto - a replaced character array
|
Knopflerfish OSGi 5.2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||