|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oclc.da.gdfr.registryprototype.utils.ApplicationResourceHelper
public class ApplicationResourceHelper
| Constructor Summary | |
|---|---|
ApplicationResourceHelper()
Constructs a default resource helper |
|
| Method Summary | |
|---|---|
java.util.Properties |
getApplicationProperties(java.lang.String resource)
Creates a properties object based on the given resource |
java.io.InputStream |
getApplicationResource(java.lang.String resource)
Creates an input stream based on the given resource |
boolean |
resourceExists(java.lang.String resource)
Determine if resource exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationResourceHelper()
| Method Detail |
|---|
public java.io.InputStream getApplicationResource(java.lang.String resource)
public boolean resourceExists(java.lang.String resource)
resource - The path of the resource to load. Should be in the
class path.
public java.util.Properties getApplicationProperties(java.lang.String resource)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||