mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-02-10 00:31:10 +00:00
Implemented setFileData.
This commit is contained in:
parent
0e8e1cff03
commit
e9f68ff220
@ -508,4 +508,13 @@ public class CpmFormatDisk extends FormattedDisk {
|
||||
AppleUtil.changeImageOrderByTrackAndSector(getImageOrder(), imageOrder);
|
||||
setImageOrder(imageOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the raw bytes into the file. This bypasses any special formatting
|
||||
* of the data (such as prepending the data with a length and/or an address).
|
||||
* Typically, the FileEntry.setFileData method should be used.
|
||||
*/
|
||||
public void setFileData(FileEntry fileEntry, byte[] fileData) throws DiskFullException {
|
||||
// TODO implement setFileData
|
||||
}
|
||||
}
|
||||
|
@ -428,6 +428,15 @@ public class DosFormatDisk extends FormattedDisk {
|
||||
}
|
||||
return fileData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the raw bytes into the file. This bypasses any special formatting
|
||||
* of the data (such as prepending the data with a length and/or an address).
|
||||
* Typically, the FileEntry.setFileData method should be used.
|
||||
*/
|
||||
public void setFileData(FileEntry fileEntry, byte[] fileData) throws DiskFullException {
|
||||
setFileData((DosFileEntry)fileEntry, fileData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the data associated with the specified DosFileEntry into sectors
|
||||
|
@ -542,4 +542,13 @@ public class PascalFormatDisk extends FormattedDisk {
|
||||
AppleUtil.changeImageOrderByBlock(getImageOrder(), imageOrder);
|
||||
setImageOrder(imageOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the raw bytes into the file. This bypasses any special formatting
|
||||
* of the data (such as prepending the data with a length and/or an address).
|
||||
* Typically, the FileEntry.setFileData method should be used.
|
||||
*/
|
||||
public void setFileData(FileEntry fileEntry, byte[] fileData) throws DiskFullException {
|
||||
// TODO implement setFileData
|
||||
}
|
||||
}
|
||||
|
@ -948,4 +948,13 @@ public class ProdosFormatDisk extends FormattedDisk {
|
||||
AppleUtil.changeImageOrderByBlock(getImageOrder(), imageOrder);
|
||||
setImageOrder(imageOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the raw bytes into the file. This bypasses any special formatting
|
||||
* of the data (such as prepending the data with a length and/or an address).
|
||||
* Typically, the FileEntry.setFileData method should be used.
|
||||
*/
|
||||
public void setFileData(FileEntry fileEntry, byte[] fileData) throws DiskFullException {
|
||||
setFileData((ProdosFileEntry)fileEntry, fileData);
|
||||
}
|
||||
}
|
||||
|
@ -490,4 +490,13 @@ public class RdosFormatDisk extends FormattedDisk {
|
||||
AppleUtil.changeImageOrderByTrackAndSector(getImageOrder(), imageOrder);
|
||||
setImageOrder(imageOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the raw bytes into the file. This bypasses any special formatting
|
||||
* of the data (such as prepending the data with a length and/or an address).
|
||||
* Typically, the FileEntry.setFileData method should be used.
|
||||
*/
|
||||
public void setFileData(FileEntry fileEntry, byte[] fileData) throws DiskFullException {
|
||||
// TODO implement setFileData
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user