Added raw file import indicator.

This commit is contained in:
Robert Greene 2004-06-23 03:45:27 +00:00
parent 7de4fc40e5
commit f47c2c8ffd

View File

@ -32,6 +32,7 @@ public class ImportSpecification {
private String targetFilename;
private String filetype;
private int address;
private boolean rawFileImport;
/**
* Create the ImportSpecification with default values.
*/
@ -103,4 +104,18 @@ public class ImportSpecification {
public void setTargetFilename(String targetFilename) {
this.targetFilename = targetFilename;
}
/**
* Answers true if the file should be imported as a raw file -
* that is, no doctoring of the file bytes at all. Particularly
* important in operating systems like DOS 3.3.
*/
public boolean isRawFileImport() {
return rawFileImport;
}
/**
* Sets raw file import flag.
*/
public void setRawFileImport(boolean rawFileImport) {
this.rawFileImport = rawFileImport;
}
}