com.jeantessier.dependencyfinder
Class VerboseListenerBase

java.lang.Object
  |
  +--com.jeantessier.dependencyfinder.VerboseListenerBase
All Implemented Interfaces:
java.util.EventListener, LoadListener
Direct Known Subclasses:
VerboseListener, VerboseListener, VerboseListener

public class VerboseListenerBase
extends java.lang.Object
implements LoadListener


Constructor Summary
VerboseListenerBase()
           
 
Method Summary
 void beginClassfile(LoadEvent event)
          The loader is starting on a new .class file.
 void beginFile(LoadEvent event)
          The loader is starting on a new file.
 void beginGroup(LoadEvent event)
          The loader is starting on a new group of files.
 void beginSession(LoadEvent event)
           
 void endClassfile(LoadEvent event)
          The loader is finished loading a .class file.
 void endFile(LoadEvent event)
          The loader is finished with a file.
 void endGroup(LoadEvent event)
          The loader finished the group of files.
 void endSession(LoadEvent event)
           
 int getClassCount()
           
protected  GroupData getCurrentGroup()
           
protected  java.lang.String getRatioIndicator()
           
protected  java.util.Collection getVisitedFiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerboseListenerBase

public VerboseListenerBase()
Method Detail

getClassCount

public int getClassCount()

getCurrentGroup

protected GroupData getCurrentGroup()

getVisitedFiles

protected java.util.Collection getVisitedFiles()

getRatioIndicator

protected java.lang.String getRatioIndicator()

beginSession

public void beginSession(LoadEvent event)
Specified by:
beginSession in interface LoadListener

beginGroup

public void beginGroup(LoadEvent event)
Description copied from interface: LoadListener

The loader is starting on a new group of files. For example, this can be a new JAR file or a collection of loose .class files.

The event's filename attribute points to the source or the group of files, such as the JAR file's name or the root directory of the loose files.

The element and classfile attributes are null.

Specified by:
beginGroup in interface LoadListener

beginFile

public void beginFile(LoadEvent event)
Description copied from interface: LoadListener

The loader is starting on a new file.

The event's element attribute contains the name of the file being processed.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The classfile attribute is null.

Specified by:
beginFile in interface LoadListener

beginClassfile

public void beginClassfile(LoadEvent event)
Description copied from interface: LoadListener

The loader is starting on a new .class file.

The event's element attribute contains the name of the .class file being processed.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The classfile attribute is null.

Specified by:
beginClassfile in interface LoadListener

endClassfile

public void endClassfile(LoadEvent event)
Description copied from interface: LoadListener

The loader is finished loading a .class file.

The event's classfile attribute contains the newly loaded Classfile instance from the .class file.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The element attribute is null.

Specified by:
endClassfile in interface LoadListener

endFile

public void endFile(LoadEvent event)
Description copied from interface: LoadListener

The loader is finished with a file.

The event's element attribute contains the name of the file being processed.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The event's classfile attribute may contains a newly loaded Classfile instance from the file.

Specified by:
endFile in interface LoadListener

endGroup

public void endGroup(LoadEvent event)
Description copied from interface: LoadListener

The loader finished the group of files. For example, this can be a new JAR file or a collection of loose .class files.

The event's filename attribute points to the source or the group of files, such as the JAR file's name or the root directory of the loose files.

The element and classfile attributes are null.

Specified by:
endGroup in interface LoadListener

endSession

public void endSession(LoadEvent event)
Specified by:
endSession in interface LoadListener


Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.