org.apache.excalibur.instrument.manager.http.server
Class URLCoder

java.lang.Object
  extended byorg.apache.excalibur.instrument.manager.http.server.URLCoder

public class URLCoder
extends java.lang.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.


Method Summary
static java.lang.String decode(java.lang.String value, java.lang.String encoding)
           
static java.lang.String encode(java.lang.String value, java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encode

public static java.lang.String encode(java.lang.String value,
                                      java.lang.String encoding)
                               throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

decode

public static java.lang.String decode(java.lang.String value,
                                      java.lang.String encoding)
                               throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.