org.codehaus.gmaven.runtime.util
Interface Compiler

All Known Subinterfaces:
ClassCompiler, StubCompiler
All Known Implementing Classes:
CompilerSupport

public interface Compiler

A common interface for compiler components.

Version:
$Id: Compiler.java 50 2009-10-16 14:06:18Z user57 $
Author:
Jason Dillon

Method Summary
 void add(File source)
           
 void add(URL source)
           
 int compile()
           
 URL[] getClassPath()
           
 File getTargetDirectory()
           
 void setClassPath(URL[] urls)
           
 void setTargetDirectory(File dir)
           
 Collection sources()
           
 

Method Detail

setTargetDirectory

void setTargetDirectory(File dir)

getTargetDirectory

File getTargetDirectory()

add

void add(URL source)

add

void add(File source)

sources

Collection sources()

compile

int compile()
            throws Exception
Throws:
Exception

setClassPath

void setClassPath(URL[] urls)

getClassPath

URL[] getClassPath()


Copyright © 2006-2012 Codehaus. All Rights Reserved.