classpathhelper
Class ClassPathElement

java.lang.Object
  extended byclasspathhelper.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

Constructor Summary
ClassPathElement(java.lang.String thePath, ClassStoreContentsFilter theFilter)
           
 
Method Summary
 ClassStoreContentsFilter getFilter()
          The filter to apply to the class store.
 java.lang.String getPath()
          The absolute path to the class store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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