All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Loader

java.lang.Object
   |
   +----harpoon.ClassFile.Loader

public abstract class Loader
extends Object
Quick and dirty class file loader. Looks through CLASSPATH to find the class. Understands .jar and .zip files.

Version:
$Id: Loader.java,v 1.10 1998/11/20 21:44:49 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Index

 o Loader()

Method Index

 o classpaths()
Enumerate the components of the system CLASSPATH.
 o classToResource(String)
 o getResourceAsStream(String)
Open an InputStream on a resource found somewhere in the CLASSPATH.
 o preloadable()
Return an enumeration of zipfiles in the CLASSPATH that may be candidates for preloading.

Constructors

 o Loader
 public Loader()

Methods

 o preloadable
 public static Enumeration preloadable()
Return an enumeration of zipfiles in the CLASSPATH that may be candidates for preloading.

 o classpaths
 public static Enumeration classpaths()
Enumerate the components of the system CLASSPATH.

 o classToResource
 public static String classToResource(String classname)
 o getResourceAsStream
 public static InputStream getResourceAsStream(String name)
Open an InputStream on a resource found somewhere in the CLASSPATH.

Parameters:
name - The filename of the resource to locate.

All Packages  Class Hierarchy  This Package  Previous  Next  Index