org.sf.cafebabe.task.classhound
Class ClassHound

java.lang.Object
  extended by org.sf.cafebabe.task.classhound.ClassHound

public class ClassHound
extends java.lang.Object

This class reperesent ClassHound Service

Version:
1.0 02/04/2002
Author:
Alexander Shvets

Field Summary
static java.lang.String ANONYMOUS_PACKAGE
           
 
Method Summary
 void addEntry(java.lang.String entryName)
          Finds out all files for specified CLASSPATH entry and creates assosiation between them and entry name.
 void clearClasses()
          Clears classes list
 void clearFields()
          Clears fields list
 void clearMethods()
          Clears methods list
 void clearPackages()
          Clears packages list
 void fillClassesList(java.lang.String selEntry, java.lang.String selPackage)
          Fills out the content of the classes list
 void fillMembersLists(java.lang.String selEntry, java.lang.String selPackage, java.lang.String selClass)
          Fills out the content of the field and method lists
 void fillPackagesList(java.lang.String selEntry)
          Fills out the content of the packages list
 java.util.List getClasses()
          Gets the list of classes
 java.util.List getEntries()
          Gets the list of entries
 java.util.Map getEntryToFilesMap()
          Gets the list of methods
 java.util.List getFields()
          Gets the list of fields
static ClassHound getInstance()
          Gets the instance of ClassHound Service
 java.util.List getMethods()
          Gets the list of methods
 java.util.List getPackages()
          Gets the list of packages
 void removeEntry(java.lang.String entryName)
          Removes new entry assosiation from the list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANONYMOUS_PACKAGE

public static final java.lang.String ANONYMOUS_PACKAGE
See Also:
Constant Field Values
Method Detail

getInstance

public static ClassHound getInstance()
Gets the instance of ClassHound Service

Returns:
ClassHound Service instance

getEntries

public java.util.List getEntries()
Gets the list of entries

Returns:
the list of entries

getPackages

public java.util.List getPackages()
Gets the list of packages

Returns:
the list of packages

getClasses

public java.util.List getClasses()
Gets the list of classes

Returns:
the list of classes

getFields

public java.util.List getFields()
Gets the list of fields

Returns:
the list of fields

getMethods

public java.util.List getMethods()
Gets the list of methods

Returns:
the list of methods

getEntryToFilesMap

public java.util.Map getEntryToFilesMap()
Gets the list of methods

Returns:
the list of methods

clearPackages

public void clearPackages()
Clears packages list


clearClasses

public void clearClasses()
Clears classes list


clearFields

public void clearFields()
Clears fields list


clearMethods

public void clearMethods()
Clears methods list


addEntry

public void addEntry(java.lang.String entryName)
Finds out all files for specified CLASSPATH entry and creates assosiation between them and entry name. Adds this assosiation the list

Parameters:
entryName - the name of the entry to be analyzed

removeEntry

public void removeEntry(java.lang.String entryName)
Removes new entry assosiation from the list

Parameters:
entryName - the name of the entry to be removed

fillPackagesList

public void fillPackagesList(java.lang.String selEntry)
Fills out the content of the packages list

Parameters:
selEntry - selected entry

fillClassesList

public void fillClassesList(java.lang.String selEntry,
                            java.lang.String selPackage)
Fills out the content of the classes list

Parameters:
selEntry - selected entry
selPackage - selected package

fillMembersLists

public void fillMembersLists(java.lang.String selEntry,
                             java.lang.String selPackage,
                             java.lang.String selClass)
Fills out the content of the field and method lists

Parameters:
selEntry - selected entry
selPackage - selected package
selClass - selected class


Copyright 2006 Dream Programs Inc.. All Rights Reserved.