jd.xml.util
Class Utf8Escaping

java.lang.Object
  extended byjd.xml.util.Utf8Escaping

public class Utf8Escaping
extends Object

Utf8Escaping is a utility class to convert a character to the string "%xy" with xy as the hex value of the utf-8 encoded character.


Constructor Summary
Utf8Escaping()
           
 
Method Summary
 int escape(char c)
           
 char getResult(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8Escaping

public Utf8Escaping()
Method Detail

escape

public int escape(char c)
           throws CharConversionException
Throws:
CharConversionException

getResult

public char getResult(int i)