|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.ocltf.utils.XmlResourceUtils
Contains utilities for loading XML resources. Similar to FileResource except handles XML resources in a similar fashion.
| Constructor Summary | |
XmlResourceUtils()
|
|
| Method Summary | |
static java.net.URL |
getResource(java.lang.String resourceName)
Retreives an XML resource from the class pacakge |
static java.lang.String |
getResourceContentsAsString(java.lang.String resourceName)
Loads the contents and then converts the contents to a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlResourceUtils()
| Method Detail |
public static java.net.URL getResource(java.lang.String resourceName)
resourceName - - the name of the resource
public static java.lang.String getResourceContentsAsString(java.lang.String resourceName)
resourceName -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||