org.apache.jetspeed.decoration.validators
Class ClasspathResourceValidator
java.lang.Object
org.apache.jetspeed.decoration.validators.ClasspathResourceValidator
- All Implemented Interfaces:
- org.apache.jetspeed.decoration.ResourceValidator
public class ClasspathResourceValidator
- extends Object
- implements org.apache.jetspeed.decoration.ResourceValidator
This implementation uses ClassLoader.getResource()
to
validate the existence of a resource.
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classLoader
private ClassLoader classLoader
ClasspathResourceValidator
public ClasspathResourceValidator(ClassLoader classLoader)
ClasspathResourceValidator
public ClasspathResourceValidator()
resourceExists
public boolean resourceExists(String path)
- Specified by:
resourceExists
in interface org.apache.jetspeed.decoration.ResourceValidator
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.