Package jminusminus
Class CLPath
java.lang.Object
jminusminus.CLPath
This class can be used to locate and load system, extension, and user-defined class files from
directories and zip (jar) files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a CLInputStream instance for the class with specified name (fully-qualified; tokens separated by '/') or null if the class was not found.
-
Constructor Details
-
CLPath
public CLPath()Constructs a CLPath object. -
CLPath
Constructs a CLPath object given the directory names defining the path and the directory for the Java extension classes.- Parameters:
path
- the directory names defining the class path, separated by path separator.extdir
- the directory for the Java extension classes.
-
-
Method Details
-
loadClass
Returns a CLInputStream instance for the class with specified name (fully-qualified; tokens separated by '/') or null if the class was not found.- Parameters:
name
- the fully-qualified name of the class (eg, java/util/ArrayList).- Returns:
- a CLInputStream instance for the class with specified name or null if the class was not found.
-