|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.geeboss.util.XmlUtil
public class XmlUtil
Utility methods for XML documents
| Constructor Summary | |
|---|---|
XmlUtil()
|
|
| Method Summary | |
|---|---|
static org.w3c.dom.Document |
readDocument(java.io.File file)
Read an XML Document from a file |
static org.w3c.dom.Document |
readDocument(java.io.InputStream inputStream)
Read an XML Document from an input stream |
static void |
writeDocument(org.w3c.dom.Document document,
java.io.File file)
Write an XML Document into a file |
static void |
writeDocument(org.w3c.dom.Document document,
java.io.OutputStream outputStream)
Write an XML Document into an output stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlUtil()
| Method Detail |
|---|
public static void writeDocument(org.w3c.dom.Document document,
java.io.OutputStream outputStream)
throws java.io.IOException
document - the document to writeoutputStream - the output stream to write the document to
java.io.IOException
public static void writeDocument(org.w3c.dom.Document document,
java.io.File file)
throws java.io.IOException
document - the document to writefile - the file write the document to
java.io.IOException
public static org.w3c.dom.Document readDocument(java.io.InputStream inputStream)
throws org.xml.sax.SAXException,
java.io.IOException
inputStream - the input stream to read
java.io.IOException
org.xml.sax.SAXException
public static org.w3c.dom.Document readDocument(java.io.File file)
throws org.xml.sax.SAXException,
java.io.IOException
file - the file to read
org.xml.sax.SAXException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||