SandMark version 2.0


sandmark.util.classloading
Class ClassFinder

java.lang.Object
  |
  +--sandmark.util.classloading.ClassFinder

public class ClassFinder
extends java.lang.Object

Provides a unified interface for finding classes that extend certain interfaces. The class types that can be requested through the methods of this class are defined in sandmark.util.classloading.IClassFinder

Author:
Andrew Huntwork
See Also:
IClassFinder

Constructor Summary
ClassFinder()
           
 
Method Summary
static java.util.Collection getClassesWithAncestor(int ancestor)
          Get all the classes that sListGen knows about it that derive from the class indicated by 'ancestor'
static java.lang.String getClassShortname(java.lang.String className)
          Get a string suitable for display to the user that describes className
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFinder

public ClassFinder()
Method Detail

getClassesWithAncestor

public static java.util.Collection getClassesWithAncestor(int ancestor)
Get all the classes that sListGen knows about it that derive from the class indicated by 'ancestor'

Parameters:
ancestor - one of the constants in IClassFinder
Returns:
Collection of String's containing the names of classes derived from class specified by ancestor

getClassShortname

public static java.lang.String getClassShortname(java.lang.String className)
Get a string suitable for display to the user that describes className

Parameters:
className - a String returned as a member of a Collection by getClassesWithAncestor
Returns:
A short String description of className

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002