prupp
Class Util

java.lang.Object
  |
  +--prupp.Util

public class Util
extends java.lang.Object

this class is inteded to do stuff that I dont want to do elsewhere and it may be useful


Constructor Summary
Util()
          constructor
 
Method Summary
static java.lang.String URLdecode(java.lang.String enc)
          URLDecode a string.
static java.lang.String uudecode(java.lang.String base64string)
          uudecode the given string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
constructor
Method Detail

uudecode

public static java.lang.String uudecode(java.lang.String base64string)
uudecode the given string. useful for decoding basic Authentication

URLdecode

public static java.lang.String URLdecode(java.lang.String enc)
URLDecode a string. This is useful when your handling CGI-arguments..
Parameters:
enc - the encoded String.
Returns:
an unescaped String. ('%dd' => 'c', '+' => ' ')