mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-03-01 00:30:17 +00:00
Added raw file import indicator.
This commit is contained in:
parent
7de4fc40e5
commit
f47c2c8ffd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user