org.codehaus.plexus.compiler.jikes
Class JikesCompiler
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.compiler.AbstractCompiler
org.codehaus.plexus.compiler.jikes.JikesCompiler
- All Implemented Interfaces:
- org.codehaus.plexus.compiler.Compiler, org.codehaus.plexus.logging.LogEnabled
- public class JikesCompiler
- extends org.codehaus.plexus.compiler.AbstractCompiler
Fields inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
EOL, PS |
Fields inherited from interface org.codehaus.plexus.compiler.Compiler |
ROLE |
Method Summary |
java.util.List |
compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
|
java.lang.String[] |
createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
|
protected java.util.List |
parseStream(java.io.BufferedReader input,
java.util.List messages)
Parse the compiler error stream to produce a list of
CompilerError s |
Methods inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JikesCompiler
public JikesCompiler()
compile
public java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
- Throws:
org.codehaus.plexus.compiler.CompilerException
parseStream
protected java.util.List parseStream(java.io.BufferedReader input,
java.util.List messages)
throws java.io.IOException
- Parse the compiler error stream to produce a list of
CompilerError
s
- Parameters:
input
- The error stream
- Returns:
- The list of compiler error messages
- Throws:
java.io.IOException
- If an error occurs during message collection
createCommandLine
public java.lang.String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
- Throws:
org.codehaus.plexus.compiler.CompilerException
Copyright © 2001-2007 Codehaus. All Rights Reserved.