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 50 2009-10-16 14:06:18Z user57 $
Author:
Jason Dillon

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

Method Detail

setTargetDirectory

void setTargetDirectory(java.io.File dir)

getTargetDirectory

java.io.File getTargetDirectory()

add

void add(java.net.URL source)

add

void add(java.io.File source)

sources

java.util.Collection sources()

compile

int compile()
            throws java.lang.Exception
Throws:
java.lang.Exception

setClassPath

void setClassPath(java.net.URL[] urls)

getClassPath

java.net.URL[] getClassPath()


Copyright © 2006-2010 Codehaus. All Rights Reserved.