package bluej.compiler;
import java.io.File;
import java.io.Serializable;
| Information about a file to be fed to the compiler as input.
|
public class CompileInputFile
implements Serializable{
private final File actualJavaFileForCompiler;
private final File sourceFileToRecord;
|
| @param actualJavaFileForCompiler The .java file that the compiler will see, even if the original was Stride
| @param sourceFileToRecord The Stride file for Stride (or Java for Java; in this case, both parameters will be identical).
|
public CompileInputFile(File actualJavaFileForCompiler, File sourceFileToRecord)
{
this.actualJavaFileForCompiler = actualJavaFileForCompiler;
this.sourceFileToRecord = sourceFileToRecord;
}
| The .java source file that gets fed to the compiler (even for Stride classes)
|
public File getJavaCompileInputFile()
{
return actualJavaFileForCompiler;
}
| The original source file as the user sees it, i.e. the Stride file for Stride classes.
|
public File getUserSourceFile()
{
return sourceFileToRecord;
}
}
top,
use,
map,
class CompileInputFile
. CompileInputFile
. getJavaCompileInputFile
. getUserSourceFile
35 neLoCode
+ 5 LoComm