org.apache.excalibur.instrument.manager.http.server
Class URLCoder
java.lang.Object
org.apache.excalibur.instrument.manager.http.server.URLCoder
public class URLCoder
- extends Object
The java.net.URLDecoder and java.net.URLEncoder classes that ship with Java
do not support encoding until Java 1.4. But this tool needs to be able to
be used with Java 1.3. This class makes that possible.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encode
public static String encode(String value,
String encoding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
decode
public static String decode(String value,
String encoding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
Copyright © 1997-2012 The Apache Software Foundation. All Rights Reserved.