|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.decoration.validators.ClasspathResourceValidator
public class ClasspathResourceValidator
This implementation uses ClassLoader.getResource()
to
validate the existence of a resource.
Constructor Summary | |
---|---|
ClasspathResourceValidator()
|
|
ClasspathResourceValidator(java.lang.ClassLoader classLoader)
|
Method Summary | |
---|---|
boolean |
resourceExists(java.lang.String path)
Validates whether or not a resource exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathResourceValidator(java.lang.ClassLoader classLoader)
public ClasspathResourceValidator()
Method Detail |
---|
public boolean resourceExists(java.lang.String path)
ResourceValidator
resourceExists
in interface ResourceValidator
path
- Path to verify.
true
if a resource exists at the path specified,
otherwise returns false.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |