org.quattor.pan.utils
Class EscapeUtils

java.lang.Object
  extended by org.quattor.pan.utils.EscapeUtils

public class EscapeUtils
extends java.lang.Object

This class regroups methods used to escape and unescape string. The escape method permits any string (well those containing only ASCII characters) to be converted a valid nlist key. The unescape method will invert the conversion.

Author:
loomis

Method Summary
static java.lang.String escape(java.lang.String s)
           
static java.lang.String unescape(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escape

public static java.lang.String escape(java.lang.String s)

unescape

public static java.lang.String unescape(java.lang.String s)


Copyright © 2011 Quattor. All Rights Reserved.