com.acsinet_solutions.util.text
Class URLCodec

java.lang.Object
  extended by com.acsinet_solutions.util.text.URLCodec

public final class URLCodec
extends java.lang.Object

Basic URL Codec which throws runtime exceptions and not checked ones

Author:
Santiago Arriaga

Constructor Summary
URLCodec()
           
 
Method Summary
static java.lang.String getDecoded(java.lang.String str)
          Perform the decoding only if necessary ( only when the prefix is detected ).
static java.lang.String getEncoded(java.lang.String str)
          Perform the encoding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLCodec

public URLCodec()
Method Detail

getEncoded

public static java.lang.String getEncoded(java.lang.String str)
Perform the encoding.


getDecoded

public static java.lang.String getDecoded(java.lang.String str)
Perform the decoding only if necessary ( only when the prefix is detected ).