FileDocCategorySizeDatePackage
Compiler.javaAPI DocApache Axis 1.42786Sat Apr 22 18:57:26 BST 2006org.apache.axis.components.compiler

Compiler

public interface Compiler
This interface defines a compiler's functionality for all (Java-based) compiled languages
author
Davanum Srinivas
author
Stefano Mazzocchi
since
2.0

Fields Summary
Constructors Summary
Methods Summary
public voidaddFile(java.lang.String file)
Set the name of the file containing the source program

param
file The name of the file containing the source program

public booleancompile()
Compile a source file yielding a loadable program file.

param
filename The object program base file name
param
baseDirectory The directory containing the object program file
param
encoding The encoding expected in the source file or null if it is the platform's default encoding
exception
LanguageException If an error occurs during compilation

public java.util.ListgetErrors()
Return the list of errors generated by this compilation

return
The list of errors generated by this compilation
exception
IOException If an error occurs during message collection

public voidsetClasspath(java.lang.String classpath)
Set the classpath to be used for this compilation

param
classpath The classpath to be used for this compilation

public voidsetDestination(java.lang.String destDir)
Set the name of the directory to contain the resulting object program file

param
destDir The name of the directory to contain the resulting object program file

public voidsetEncoding(java.lang.String encoding)
Set the encoding of the input source file or null to use the platform's default encoding

param
encoding The encoding of the input source file or null to use the platform's default encoding

public voidsetSource(java.lang.String srcDir)
Set the name of the directory containing the source program file

param
srcDir The name of the directory containing the source program file