org.apache.axis.components.compiler
public interface Compiler
Since: 2.0
Method Summary | |
---|---|
void | addFile(String file)
Set the name of the file containing the source program
|
boolean | compile()
Compile a source file yielding a loadable program file.
|
List | getErrors()
Return the list of errors generated by this compilation
|
void | setClasspath(String classpath)
Set the classpath to be used for this compilation
|
void | setDestination(String destDir)
Set the name of the directory to contain the resulting object program file
|
void | setEncoding(String encoding)
Set the encoding of the input source file or null to use the
platform's default encoding
|
void | setSource(String srcDir)
Set the name of the directory containing the source program file
|
Parameters: file The name of the file containing the source program
Parameters: filename The object program base file name baseDirectory The directory containing the object program file encoding The encoding expected in the source file or
null
if it is the platform's default encoding
Throws: LanguageException If an error occurs during compilation
Returns: The list of errors generated by this compilation
Throws: IOException If an error occurs during message collection
Parameters: classpath The classpath to be used for this compilation
Parameters: destDir The name of the directory to contain the resulting object program file
null
to use the
platform's default encoding
Parameters: encoding The encoding of the input source file or null
to use the platform's default encoding
Parameters: srcDir The name of the directory containing the source program file