org.eclipse.webdav.internal.utils
Class URLDecoder

java.lang.Object
  extended by org.eclipse.webdav.internal.utils.URLDecoder

public final class URLDecoder
extends Object

Decodes a URL from an ASCII readable URL that is safe for transport.

See Also:
URLEncoder

Method Summary
static String decode(String url)
          Decodes the given URL from an ASCII readable URL that is safe for transport.
static String decode(String file, String ref)
          Decodes the file and reference parts of a URL from an ASCII readable URL that is safe for transport.
static URL decode(URL url)
          Decodes the given URL from an ASCII readable URL that is safe for transport.
static String decodeSegment(String segment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static String decode(String url)
Decodes the given URL from an ASCII readable URL that is safe for transport. Returns the result.

Returns:
the result of decoding the given URL from an ASCII readable URL that is safe for transport

decode

public static String decode(String file,
                            String ref)
Decodes the file and reference parts of a URL from an ASCII readable URL that is safe for transport. Returns the result.

Returns:
the result of decoding the file and reference parts of a URL from an ASCII readable URL that is safe for transport

decode

public static URL decode(URL url)
Decodes the given URL from an ASCII readable URL that is safe for transport. Returns the result.

Returns:
the result of decoding the given URL from an ASCII readable URL that is safe for transport

decodeSegment

public static String decodeSegment(String segment)


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.