Package org.sentrysoftware.jawk.util
Class DestDirClassLoader
java.lang.Object
java.lang.ClassLoader
org.sentrysoftware.jawk.util.DestDirClassLoader
Load classes from a particular directory, disregarding the
environmental class-path setting.
This is useful when a directory is specified for class files,
and it would not make sense to deviate from that directory.
So this ClassLoader does practically the same
like a
URLClassLoader
with a "file://.../" URL,
except that it does not forward calls to its parent,
if it can not find the class its self.
For Jawk, this is used when the -d argument is present.
- Author:
- Danny Daglas
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
Constructor Details
-
DestDirClassLoader
Constructor for DestDirClassLoader.
- Parameters:
dirname
- aString
object
-