net.groboclown.util.jplugin.v1
Class ClassSorter

java.lang.Object
  |
  +--net.groboclown.util.jplugin.v1.ClassSorter

class ClassSorter
extends Object

Discovers the classes and beans inside of a Jar file.


Inner Class Summary
(package private)  class ClassSorter.AttributeSet
           
 
Field Summary
(package private)  Hashtable attributeSets
           
(package private)  Vector classes
           
(package private)  Hashtable classSets
           
 
Constructor Summary
ClassSorter()
           
 
Method Summary
 void addAttributeSet(String attributeName)
           
 void addAttributeSet(String attributeName, String value)
           
 void addClass(Inspector insp, String className, ClassAttributes attr)
           
 void addClassSet(Class superclass)
           
 ClassWrapper[] getClassesInAttributeSet(String attributeName)
           
 ClassWrapper[] getClassesInClassSet(Class superclass)
           
protected  ClassWrapper[] toClassWrapper(Vector v)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

attributeSets

Hashtable attributeSets

classSets

Hashtable classSets

classes

Vector classes
Constructor Detail

ClassSorter

public ClassSorter()
Method Detail

addClass

public void addClass(Inspector insp,
                     String className,
                     ClassAttributes attr)

addClassSet

public void addClassSet(Class superclass)

addAttributeSet

public void addAttributeSet(String attributeName)

addAttributeSet

public void addAttributeSet(String attributeName,
                            String value)

getClassesInClassSet

public ClassWrapper[] getClassesInClassSet(Class superclass)

getClassesInAttributeSet

public ClassWrapper[] getClassesInAttributeSet(String attributeName)

toClassWrapper

protected ClassWrapper[] toClassWrapper(Vector v)


Written under the LGPL