com.deltax.util
Class DynamicJDK12ClassFileFinder

java.lang.Object
  extended bycom.deltax.util.JDK12ClassFileFinder
      extended bycom.deltax.util.DynamicJDK12ClassFileFinder
All Implemented Interfaces:
ClassFileFinder, DynamicClassFileFinder, DynamicResourceFileFinder, ResourceFileFinder

public class DynamicJDK12ClassFileFinder
extends JDK12ClassFileFinder
implements DynamicClassFileFinder, DynamicResourceFileFinder

A JDK12ClassFileFinder whose classpath definition can be changed at runtime.

Version:
1.0.1
Author:
cris

Field Summary
 
Fields inherited from class com.deltax.util.JDK12ClassFileFinder
classCache, classCacheOn, classPath, classPathDirs, missingFilesNotified
 
Constructor Summary
DynamicJDK12ClassFileFinder()
          Constructor for DynamicJDK12ClassFileFinder.
DynamicJDK12ClassFileFinder(java.lang.String classPath)
          Constructor for DynamicJDK12ClassFileFinder.
 
Method Summary
 void addClassPathEntry(java.lang.String entry)
           
 java.lang.String getClassPath()
           
 void setClassPath(java.lang.String classPath)
           
 
Methods inherited from class com.deltax.util.JDK12ClassFileFinder
classNameToEntry, classNameToPath, clearCorruptFiles, findClassFile, findJarsInPath, findResourceFile, getBytes, getClassBytes, getClassPathDirs, getCorruptFiles, getResourceBytes, getSupportedLoadingScheme, isClassCacheOn, isJar, main, openClass, openClassInJar, openResource, searchJars, setClassCacheOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.deltax.util.ClassFileFinder
findClassFile, getClassBytes, getSupportedLoadingScheme, openClass
 
Methods inherited from interface com.deltax.util.ResourceFileFinder
findResourceFile, getResourceBytes, getSupportedLoadingScheme, openResource
 

Constructor Detail

DynamicJDK12ClassFileFinder

public DynamicJDK12ClassFileFinder(java.lang.String classPath)
Constructor for DynamicJDK12ClassFileFinder.

Parameters:
classPath -

DynamicJDK12ClassFileFinder

public DynamicJDK12ClassFileFinder()
Constructor for DynamicJDK12ClassFileFinder.

Method Detail

addClassPathEntry

public void addClassPathEntry(java.lang.String entry)
Specified by:
addClassPathEntry in interface DynamicClassFileFinder

setClassPath

public void setClassPath(java.lang.String classPath)
Specified by:
setClassPath in interface DynamicClassFileFinder

getClassPath

public java.lang.String getClassPath()
Specified by:
getClassPath in interface DynamicClassFileFinder
See Also:
DynamicClassFileFinder.getClassPath()