|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.utilities.Resource
A class for loading resource files.
Constructor Summary | |
Resource()
|
Method Summary | |
static void |
addResourceDir(java.lang.String dir)
Add a source dir to check when searching for a resource. |
static java.io.InputStream |
getResource(java.lang.String resource)
Find a resource file and return an InputStream for it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Resource()
Method Detail |
public static void addResourceDir(java.lang.String dir)
public static java.io.InputStream getResource(java.lang.String resource) throws java.io.FileNotFoundException
resource
- The name of the resource file.
java.io.FileNotFoundException
- if the resource was not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |