Package com.spun.util.io
Class XMLUtils
java.lang.Object
com.spun.util.io.XMLUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractStringValue(Node node) static StringlocateFile(String fileLocation, String[] backupPaths) parseProperties(String absoluteFileLocation, XMLNodeExtractor extractor) static Documentstatic DocumentparseXML(InputStream stream) static Documentstatic StringprettyPrint(String input, int indent) static StringprettyPrint(String input, int indent, boolean reorder)
-
Constructor Details
-
XMLUtils
public XMLUtils()
-
-
Method Details
-
locateFile
-
parseProperties
public static HashMap<String,Object> parseProperties(String absoluteFileLocation, XMLNodeExtractor extractor) -
parseXML
-
parseXML
-
parseXML
-
extractStringValue
-
prettyPrint
-
prettyPrint
-