wt.tools.generation
Class ClassRegistrar

java.lang.Object
  extended bywt.tools.generation.ClassRegistrar
All Implemented Interfaces:
FileFunction

public class ClassRegistrar
extends Object
implements FileFunction


Field Summary
protected static boolean INCLUDE_INNER
           
protected static boolean INCLUDE_LOCALE
           
protected static boolean INCLUDE_PKGS
           
protected static boolean INCLUDE_SUN
           
protected  ClassRegistry registry
           
protected  Collection validPkgs
           
 
Constructor Summary
ClassRegistrar(ClassRegistry theRegistry)
           
ClassRegistrar(ClassRegistry theRegistry, Collection valid_pkgs)
           
 
Method Summary
 void execute(String relativeTo, File file)
           
 void execute(String foundIn, ZipEntry zipEntry)
           
protected  void processClassFile(String class_name, String package_name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUDE_INNER

protected static final boolean INCLUDE_INNER

INCLUDE_LOCALE

protected static final boolean INCLUDE_LOCALE

INCLUDE_SUN

protected static final boolean INCLUDE_SUN

INCLUDE_PKGS

protected static final boolean INCLUDE_PKGS

registry

protected ClassRegistry registry

validPkgs

protected Collection validPkgs
Constructor Detail

ClassRegistrar

public ClassRegistrar(ClassRegistry theRegistry)

ClassRegistrar

public ClassRegistrar(ClassRegistry theRegistry,
                      Collection valid_pkgs)
Method Detail

execute

public void execute(String relativeTo,
                    File file)
Specified by:
execute in interface FileFunction

execute

public void execute(String foundIn,
                    ZipEntry zipEntry)
Specified by:
execute in interface FileFunction

processClassFile

protected void processClassFile(String class_name,
                                String package_name)