com.perdues
Class Recompiler

java.lang.Object
  |
  +--com.perdues.Recompiler

public class Recompiler
extends java.lang.Object

Recompile .java files that need it anywhere under the current directory, using javac. The condition is the same used by "make": the corresponding .class file does not exist or is older.


Inner Class Summary
static class Recompiler.BytePump
          Copies from InputStream to OutputStream until EOF.
 
Constructor Summary
Recompiler()
           
 
Method Summary
static void main(java.lang.String[] args)
          Takes no command line arguments.
static void update(java.io.File dir, java.util.Vector toRecompile)
          Recursive main work method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recompiler

public Recompiler()
Method Detail

main

public static void main(java.lang.String[] args)
Takes no command line arguments.

update

public static void update(java.io.File dir,
                          java.util.Vector toRecompile)
Recursive main work method. This checks for .java files that need recompilation and recurs into all subdirectories.