org.iqual.chaplin
Class FSClassFileProvider

java.lang.Object
  extended by org.iqual.chaplin.FSClassFileProvider
All Implemented Interfaces:
ClassFileDriver

public class FSClassFileProvider
extends Object
implements ClassFileDriver

This is the file system implementation of ClassFileDriver. It traverses all class files under the given root directory.

Since:
Mar 14, 2009 4:54:26 PM
Author:
Zbynek Slajchrt

Constructor Summary
FSClassFileProvider(File root, FileFilter filter)
           
 
Method Summary
 void drive(ClassFileHandler handler)
          Traverse the class files hiearchy and for each class file pass both the class' name and the class's reader to the handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSClassFileProvider

public FSClassFileProvider(File root,
                           FileFilter filter)
Method Detail

drive

public void drive(ClassFileHandler handler)
           throws Exception
Description copied from interface: ClassFileDriver
Traverse the class files hiearchy and for each class file pass both the class' name and the class's reader to the handler.

Specified by:
drive in interface ClassFileDriver
Parameters:
handler - the handler
Throws:
Exception


Copyright © 2009 iquality.org. All Rights Reserved.