org.ozoneDB.tools.OPP.compiler
Class AbstractJavaCompiler
java.lang.Object
org.ozoneDB.tools.OPP.compiler.AbstractJavaCompiler
- All Implemented Interfaces:
- JavaCompiler
- Direct Known Subclasses:
- ExternalJavaCompiler, InternalJavaCompiler
- public abstract class AbstractJavaCompiler
- extends java.lang.Object
- implements JavaCompiler
Abstract configuration interface for JDK build compilers.
Date: 2003-sep-21
Time: 15:04:09
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classpath
private java.lang.String classpath
optimize
private boolean optimize
debug
private boolean debug
noWarn
private boolean noWarn
deprecation
private boolean deprecation
sourcePath
private java.io.File sourcePath
outputPath
private java.io.File outputPath
AbstractJavaCompiler
public AbstractJavaCompiler()
getOutputPath
public java.io.File getOutputPath()
setOutputPath
public void setOutputPath(java.io.File outputPath)
isOptimize
public boolean isOptimize()
setOptimize
public void setOptimize(boolean optimize)
isDebug
public boolean isDebug()
setDebug
public void setDebug(boolean debug)
isNoWarn
public boolean isNoWarn()
setNoWarn
public void setNoWarn(boolean noWarn)
isDeprecation
public boolean isDeprecation()
setDeprecation
public void setDeprecation(boolean deprecation)
getSourcePath
public java.io.File getSourcePath()
setSourcePath
public void setSourcePath(java.io.File sourcePath)
getClasspath
public java.lang.String getClasspath()
setClasspath
public void setClasspath(java.lang.String classpath)
getArguments
protected java.lang.String[] getArguments(java.util.Collection classes)
getArguments
protected java.lang.String[] getArguments(java.lang.String command,
java.util.Collection classes)
- Returns command line arguments from the compiler settings.
- Parameters:
command
- Compiler command, skipped if null.classes
- The number classes to compile
- Returns:
- The array of a arguments
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.