public class IOXml
extends java.lang.Object
| Constructor and Description |
|---|
IOXml() |
| Modifier and Type | Method and Description |
|---|---|
static org.jdom.Document |
getDoc(java.lang.String filePath)
Gets the root element from a xml file
|
static void |
saveXML(org.jdom.Document doc,
java.lang.String filePath)
Save the contento doc in filePath
|
public static org.jdom.Document getDoc(java.lang.String filePath)
throws java.io.FileNotFoundException
filePath - the path to xml filejava.io.FileNotFoundExceptionpublic static void saveXML(org.jdom.Document doc,
java.lang.String filePath)
doc - xml documentfilePath - the path to xml file