org.sadun.util
Interface SimpleClassPackageExplorer.PackageExplorationListener

All Known Implementing Classes:
SimpleClassPackageExplorer.PackageExplorationAdapter
Enclosing interface:
SimpleClassPackageExplorer

public static interface SimpleClassPackageExplorer.PackageExplorationListener

Classes implementing this interface receive notifications of the explorer's activity.

Since:
v1.1
Author:
Cristiano Sadun

Method Summary
 void processingFile(java.io.File classFile, java.lang.String className)
          Notify that a specific file is being scanned.
 void scanEnd(java.io.File entry, boolean isJar)
          Notify that a jar/directory scanning is terminated.
 void scanStart(java.io.File entry, boolean isJar)
          Notify that a jar/directory is being scanned.
 

Method Detail

scanStart

public void scanStart(java.io.File entry,
                      boolean isJar)
Notify that a jar/directory is being scanned.

Parameters:
entry - the jar/directory path
isJar - true if the entry is a jar file, false if it is a directory

scanEnd

public void scanEnd(java.io.File entry,
                    boolean isJar)
Notify that a jar/directory scanning is terminated.

Parameters:
entry - the jar/directory path
isJar - true if the entry is a jar file, false if it is a directory

processingFile

public void processingFile(java.io.File classFile,
                           java.lang.String className)
Notify that a specific file is being scanned.

Parameters:
classFile - the file path (may be .class file or a jar)
className - the class name of the contained class