org.codehaus.gmaven.runtime.util
Interface Compiler

All Known Subinterfaces:
ClassCompiler, StubCompiler

public interface Compiler

A common interface for compiler components.

Version:
$Id: Compiler.java 137 2011-09-26 02:39:28Z keeganwitt $
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.