classpathhelper
Class ClassPathElement
java.lang.Object
classpathhelper.ClassPathElement
- public class ClassPathElement
- extends java.lang.Object
Object representing an element on the classpath (typically
a path to directory or jar), but this object also allows for
the inclusion of a ClassStoreContentsFilter
which can
be used to control which classes are visible from this location.
Usage
ClassPathElement cpe = new ClassPathElement(absolutePath, filter);
- Since:
- 1.0
- Author:
- bharris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathElement
public ClassPathElement(java.lang.String thePath,
ClassStoreContentsFilter theFilter)
- Parameters:
thePath
- The absolute path the the area where classes
are stored (ClassStore}.theFilter
- The filter to apply to the class store, or
null
if no filter is needed.- Since:
- 1.0
getPath
public java.lang.String getPath()
- The absolute path to the class store.
- Returns:
- An absolute path.
- Since:
- 1.0
getFilter
public ClassStoreContentsFilter getFilter()
- The filter to apply to the class store.
- Returns:
- The filter.
- Since:
- 1.0