com.jeantessier.classreader
Interface LoadListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
LoadListenerVisitorAdapter, VerboseListenerBase

public interface LoadListener
extends java.util.EventListener


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)
           
 

Method Detail

beginSession

public void beginSession(LoadEvent event)

beginGroup

public void beginGroup(LoadEvent event)

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.


beginFile

public void beginFile(LoadEvent event)

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.


beginClassfile

public void beginClassfile(LoadEvent event)

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.


endClassfile

public void endClassfile(LoadEvent event)

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.


endFile

public void endFile(LoadEvent event)

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.


endGroup

public void endGroup(LoadEvent event)

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.


endSession

public void endSession(LoadEvent event)


Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.