Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jci.compilers
Class JavaCompilerSettings

    java.lang.Object
      org.apache.commons.jci.compilers.JavaCompilerSettings

Direct Known Subclasses:
  EclipseJavaCompilerSettings, GroovyJavaCompilerSettings, JaninoJavaCompilerSettings, RhinoJavaCompilerSettings

    public class JavaCompilerSettings

extends Object

Most common denominator for JavaCompiler settings. If you need more specific settings you have to provide the native compiler configurations to the compilers. Writing of a custom factory is suggested.

Author:
  tcurdt

Constructor Summary
`JavaCompilerSettings()`
`JavaCompilerSettings(JavaCompilerSettings pSettings)`

Method Summary
`String` | `getSourceEncoding()`
`String` | `getSourceVersion()`
`String` | `getTargetVersion()`
`boolean` | `isDebug()`
`boolean` | `isDeprecations()`
`boolean` | `isVerbose()` Deprecated.
`boolean` | `isWarnings()`
`void` | `setDebug(boolean pDebug)`
`void` | `setDeprecations(boolean pDeprecations)`
`void` | `setSourceEncoding(String pSourceEncoding)`
`void` | `setSourceVersion(String pSourceVersion)`
`void` | `setTargetVersion(String pTargetVersion)`
`void` | `setVerbose(boolean pVerbose)` Deprecated.
`void` | `setWarnings(boolean pWarnings)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JavaCompilerSettings

    public JavaCompilerSettings()

### JavaCompilerSettings

    public JavaCompilerSettings(JavaCompilerSettings pSettings)

Method Detail

### setTargetVersion

    public void setTargetVersion(String pTargetVersion)

### getTargetVersion

    public String getTargetVersion()

### setSourceVersion

    public void setSourceVersion(String pSourceVersion)

### getSourceVersion

    public String getSourceVersion()

### setSourceEncoding

    public void setSourceEncoding(String pSourceEncoding)

### getSourceEncoding

    public String getSourceEncoding()

### setWarnings

    public void setWarnings(boolean pWarnings)

### isWarnings

    public boolean isWarnings()

### setDeprecations

    public void setDeprecations(boolean pDeprecations)

### isDeprecations

    public boolean isDeprecations()

### setDebug

    public void setDebug(boolean pDebug)

### isDebug

    public boolean isDebug()

### setVerbose

    @Deprecated
    public void setVerbose(boolean pVerbose)

  Deprecated.

### isVerbose

    @Deprecated
    public boolean isVerbose()

  Deprecated.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.