edu.cmu.minorthird.util
Class StringEncoder

java.lang.Object
  extended by edu.cmu.minorthird.util.StringEncoder

public class StringEncoder
extends java.lang.Object

Encode/decode special characters in strings.


Constructor Summary
StringEncoder(char escapeChar, java.lang.String illegalChars)
           
 
Method Summary
 java.lang.String decode(java.lang.String s)
           
 java.lang.String encode(java.lang.String s)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEncoder

public StringEncoder(char escapeChar,
                     java.lang.String illegalChars)
Method Detail

encode

public java.lang.String encode(java.lang.String s)

decode

public java.lang.String decode(java.lang.String s)

main

public static void main(java.lang.String[] args)