ij.plugin
Class Compiler

java.lang.Object
  extended by ij.plugin.Compiler
All Implemented Interfaces:
PlugIn, java.io.FilenameFilter

public class Compiler
extends java.lang.Object
implements PlugIn, java.io.FilenameFilter

Compiles and runs plugins using the javac compiler.


Constructor Summary
Compiler()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter