|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.webtree.data.XmlUtils
| Constructor Summary | |
XmlUtils()
|
|
| Method Summary | |
static org.jdom.Document |
getDocument(java.io.File f)
Pulls an xml resources from the file system |
static org.jdom.Document |
getDocument(java.lang.String resourceName)
Pulls an xml resource from the classpath, builds a JDom document for it |
static java.io.InputStream |
getInputStream(java.lang.String resourceName)
Pulls a resource from the classpath, gives you an InputStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlUtils()
| Method Detail |
public static org.jdom.Document getDocument(java.lang.String resourceName)
resourceName - - name of resource on classpath
public static org.jdom.Document getDocument(java.io.File f)
f - - File on file system
public static java.io.InputStream getInputStream(java.lang.String resourceName)
resourceName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||