MOA 12.03
Real Time Analytics for Data Streams
moa.core.AutoClassDiscovery Class Reference

Class for discovering classes via reflection in the java class path. More...

Collaboration diagram for moa.core.AutoClassDiscovery:

List of all members.

Static Public Member Functions

static String[] findClassNames (String packageNameToSearch)
static Class[] findClassesOfType (String packageNameToSearch, Class<?> typeDesired)
static boolean isPublicConcreteClassOfType (String className, Class<?> typeDesired)
static boolean hasEmptyConstructor (Class<?> type)

Static Protected Member Functions

static String[] findClassesInDirectoryRecursive (File root, String packagePath)

Static Protected Attributes

static final Map< String, String[]> cachedClassNames = new HashMap<String, String[]>()

Detailed Description

Class for discovering classes via reflection in the java class path.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 42 of file AutoClassDiscovery.java.


Member Function Documentation

static String [] moa.core.AutoClassDiscovery.findClassesInDirectoryRecursive ( File  root,
String  packagePath 
) [static, protected]

Definition at line 145 of file AutoClassDiscovery.java.

Referenced by moa.core.AutoClassDiscovery.findClassNames().

Here is the caller graph for this function:

static Class [] moa.core.AutoClassDiscovery.findClassesOfType ( String  packageNameToSearch,
Class<?>  typeDesired 
) [static]

Definition at line 169 of file AutoClassDiscovery.java.

Referenced by moa.gui.ClassOptionSelectionPanel.findSuitableClasses().

Here is the call graph for this function:

Here is the caller graph for this function:

static String [] moa.core.AutoClassDiscovery.findClassNames ( String  packageNameToSearch) [static]

Definition at line 46 of file AutoClassDiscovery.java.

Referenced by moa.core.AutoClassDiscovery.findClassesOfType().

Here is the call graph for this function:

Here is the caller graph for this function:

static boolean moa.core.AutoClassDiscovery.hasEmptyConstructor ( Class<?>  type) [static]

Definition at line 202 of file AutoClassDiscovery.java.

Referenced by moa.core.AutoClassDiscovery.isPublicConcreteClassOfType().

Here is the caller graph for this function:

static boolean moa.core.AutoClassDiscovery.isPublicConcreteClassOfType ( String  className,
Class<?>  typeDesired 
) [static]

Definition at line 188 of file AutoClassDiscovery.java.

Referenced by moa.core.AutoClassDiscovery.findClassesOfType().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

final Map<String, String[]> moa.core.AutoClassDiscovery.cachedClassNames = new HashMap<String, String[]>() [static, protected]

Definition at line 44 of file AutoClassDiscovery.java.

Referenced by moa.core.AutoClassDiscovery.findClassNames().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations