com.adventnet.utilities.xml.dom
Class XMLEscapeInserter

java.lang.Object
  extended by com.adventnet.utilities.xml.dom.XMLEscapeInserter

 class XMLEscapeInserter
extends java.lang.Object


Constructor Summary
XMLEscapeInserter()
          Primary Constructor.
 
Method Summary
static java.lang.String insertEscapes(java.lang.StringBuffer withoutEscapes)
           
static java.lang.StringBuffer insertTabs(java.lang.StringBuffer buff)
           
static java.lang.StringBuffer insertTabs(java.lang.StringBuffer buff, int index, int forTab)
           
static void readAndInsertEscapes(java.lang.String fileName)
           
static void writeModifiedToFile(java.lang.String fileName, java.lang.String modifiedStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLEscapeInserter

public XMLEscapeInserter()
Primary Constructor.

Method Detail

readAndInsertEscapes

public static void readAndInsertEscapes(java.lang.String fileName)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

insertEscapes

public static java.lang.String insertEscapes(java.lang.StringBuffer withoutEscapes)

writeModifiedToFile

public static void writeModifiedToFile(java.lang.String fileName,
                                       java.lang.String modifiedStr)
                                throws java.lang.Exception
Throws:
java.lang.Exception

insertTabs

public static java.lang.StringBuffer insertTabs(java.lang.StringBuffer buff)

insertTabs

public static java.lang.StringBuffer insertTabs(java.lang.StringBuffer buff,
                                                int index,
                                                int forTab)