org.openrdf.repository.object.compiler.source
Class JavaCompiler

java.lang.Object
  extended by org.openrdf.repository.object.compiler.source.JavaCompiler

public class JavaCompiler
extends Object

Java Compiler that can detects the present of a JDK.

Author:
James Leigh

Constructor Summary
JavaCompiler()
           
 
Method Summary
 void compile(Iterable<String> content, File dir, List<File> classpath)
           
 String getVersion()
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaCompiler

public JavaCompiler()
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

compile

public void compile(Iterable<String> content,
                    File dir,
                    List<File> classpath)
             throws ObjectCompileException,
                    IOException,
                    InterruptedException
Throws:
ObjectCompileException
IOException
InterruptedException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.