mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-02-06 21:30:06 +00:00
Added supportsDiskMap.
This commit is contained in:
parent
b4951201b5
commit
24c2eee291
@ -692,4 +692,11 @@ public class DosFormatDisk extends FormattedDisk {
|
||||
public boolean needsAddress(String filetype) {
|
||||
return "B".equals(filetype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this FormattedDisk supports a disk map.
|
||||
*/
|
||||
public boolean supportsDiskMap() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -362,4 +362,11 @@ public abstract class FormattedDisk extends Disk implements DirectoryEntry {
|
||||
public void resizeDiskImage() {
|
||||
resizeDiskImage(getFreeSpace() + getUsedSpace());
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this FormattedDisk supports a disk map.
|
||||
*/
|
||||
public boolean supportsDiskMap() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -522,4 +522,11 @@ public class PascalFormatDisk extends FormattedDisk {
|
||||
public boolean needsAddress(String filetype) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this FormattedDisk supports a disk map.
|
||||
*/
|
||||
public boolean supportsDiskMap() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -926,4 +926,11 @@ public class ProdosFormatDisk extends FormattedDisk {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this FormattedDisk supports a disk map.
|
||||
*/
|
||||
public boolean supportsDiskMap() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -468,4 +468,11 @@ public class RdosFormatDisk extends FormattedDisk {
|
||||
public boolean needsAddress(String filetype) {
|
||||
return "B".equals(filetype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this FormattedDisk supports a disk map.
|
||||
*/
|
||||
public boolean supportsDiskMap() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user