public class XMLUtils extends Object
Constructor and Description |
---|
XMLUtils() |
Modifier and Type | Method and Description |
---|---|
static Document |
buildDocumentFromFile(File xmlFile)
Build a Document from a file
|
static Document |
buildDocumentFromInputStream(InputStream is)
Build a document from a InputStream.
|
public static Document buildDocumentFromFile(File xmlFile) throws Exception
xmlFile
- fileException
- if an error occurspublic static Document buildDocumentFromInputStream(InputStream is) throws Exception
is
- InputStreamException
- if an error occursCopyright © 2018 WSO2. All rights reserved.