com.joanju.cgs
Class EncodingUtils

java.lang.Object
  extended by com.joanju.cgs.EncodingUtils

public class EncodingUtils
extends java.lang.Object


Constructor Summary
EncodingUtils()
           
 
Method Summary
static void escapeXmlForAbl(java.lang.StringBuilder out, java.lang.String str)
          Escape ABL strings for XML text output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingUtils

public EncodingUtils()
Method Detail

escapeXmlForAbl

public static void escapeXmlForAbl(java.lang.StringBuilder out,
                                   java.lang.String str)
Escape ABL strings for XML text output. 5 regular XML escapes: gt, lt, quot, amp, apos. Unicode characters greater than 0x7f are escaped to their numerical \\u equivalent. ASCII control characters for c < 32 are escaped to ABL ~nnn octal escape equivalent.



Copyright © 2008 Joanju Software. All Rights Reserved.