org.codehaus.groovy.tools
Class FileSystemCompiler

java.lang.Object
  extended byorg.codehaus.groovy.tools.FileSystemCompiler

public class FileSystemCompiler
extends java.lang.Object


Constructor Summary
FileSystemCompiler()
           
 
Method Summary
static int checkFiles(java.lang.String[] filenames)
           
 void compile(java.io.File[] files)
           
 void compile(java.lang.String[] paths)
           
protected  java.io.File createOutputFile(java.lang.String className)
           
static void displayHelp()
           
static void displayVersion()
           
protected  void dumpClassFile(GroovyClass groovyClass)
           
protected  Compiler getCompiler()
           
 java.io.File getOutputDir()
           
static void main(java.lang.String[] args)
           
 void setClasspath(java.lang.String classpath)
           
 void setOutputDir(java.io.File outputDir)
           
 void setOutputDir(java.lang.String outputDir)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemCompiler

public FileSystemCompiler()
Method Detail

setVerbose

public void setVerbose(boolean verbose)

getCompiler

protected Compiler getCompiler()

setOutputDir

public void setOutputDir(java.lang.String outputDir)

setOutputDir

public void setOutputDir(java.io.File outputDir)

getOutputDir

public java.io.File getOutputDir()

setClasspath

public void setClasspath(java.lang.String classpath)
                  throws java.lang.Exception
Throws:
java.lang.Exception

compile

public void compile(java.lang.String[] paths)
             throws java.lang.Exception
Throws:
java.lang.Exception

compile

public void compile(java.io.File[] files)
             throws java.lang.Exception
Throws:
java.lang.Exception

dumpClassFile

protected void dumpClassFile(GroovyClass groovyClass)
                      throws java.io.IOException
Throws:
java.io.IOException

createOutputFile

protected java.io.File createOutputFile(java.lang.String className)

displayHelp

public static void displayHelp()

displayVersion

public static void displayVersion()

checkFiles

public static int checkFiles(java.lang.String[] filenames)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2004 The Codehaus. All Rights Reserved.