public class XmlReader extends Object
| Constructor and Description |
|---|
XmlReader() |
| Modifier and Type | Method and Description |
|---|---|
static Document |
getDocumentFromFile(String filename)
Read Document from file.
|
static Document |
getDocumentFromString(String s)
Read Document from String.
|
static Document |
getDocumentFromURL(URL url)
Read Document from URL.
|
public static Document getDocumentFromFile(String filename) throws GrouperException
try {
Document doc = XmlReader.getDocumentFromFile(filename);
}
catch (GrouperException eG) {
// unable to retrieve document
}
filename - Read Document from this file.GrouperExceptionpublic static Document getDocumentFromString(String s) throws GrouperException
try {
Document doc = XmlReader.getDocumentFromString(s);
}
catch (GrouperException eG) {
// unable to retrieve document
}
s - Read document from this String.GrouperExceptionpublic static Document getDocumentFromURL(URL url) throws GrouperException
try {
}
catch (GrouperException eG) {
}
url - Read Document from this URL.GrouperExceptionCopyright © 2016 Internet2. All rights reserved.