|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.internal.utils.URLEncoder
public final class URLEncoder
Encodes a URL
into an ASCII
readable
URL
that is safe for transport. Encoded
URL
s can be decoded using the URLDecoder
.
URLDecoder
Method Summary | |
---|---|
static String |
encode(String url)
Encodes the given URL into an ASCII
readable URL that is safe for transport. |
static String |
encode(String file,
String ref)
Encodes the given file and reference parts of a URL into
an ASCII readable String that is safe for
transport. |
static URL |
encode(URL url)
Encodes the given URL into an ASCII
readable URL that is safe for transport. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encode(String url)
URL
into an ASCII
readable URL
that is safe for transport. Returns the
result.
URL
into an
ASCII
readable URL
that is safe for
transportpublic static String encode(String file, String ref)
URL
into
an ASCII
readable String
that is safe for
transport. Returns the result.
URL
into an ASCII
readable
String
that is safe for transportpublic static URL encode(URL url)
URL
into an ASCII
readable URL
that is safe for transport. Returns the
result.
URL
into an
ASCII
readable URL
that is safe for
transport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |