net.groboclown.util.jplugin.v1
Class Inspector

java.lang.Object
  |
  +--net.groboclown.util.jplugin.v1.Inspector
Direct Known Subclasses:
URLInspector

abstract class Inspector
extends Object

Discovers the classes in a URL.


Field Summary
private  Vector classNames
           
private  ClassSorter sorter
           
 
Constructor Summary
(package private) Inspector()
           
 
Method Summary
protected  void addClass(String className, ClassAttributes attr)
           
abstract  void findClasses()
           
abstract  Class getClass(String className)
           
 Enumeration getClassNames()
           
protected  ClassSorter getClassSorter()
           
abstract  URL getURL()
           
abstract  Object instantiate(String className)
           
 void setClassSorter(ClassSorter sorter)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sorter

private ClassSorter sorter

classNames

private Vector classNames
Constructor Detail

Inspector

Inspector()
Method Detail

findClasses

public abstract void findClasses()
                          throws IOException

getURL

public abstract URL getURL()

getClass

public abstract Class getClass(String className)

instantiate

public abstract Object instantiate(String className)

setClassSorter

public void setClassSorter(ClassSorter sorter)

getClassNames

public Enumeration getClassNames()

addClass

protected void addClass(String className,
                        ClassAttributes attr)

getClassSorter

protected ClassSorter getClassSorter()


Written under the LGPL