|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webcodepro.applecommander.storage.physical.ImageOrder
com.webcodepro.applecommander.storage.physical.ProdosOrder
public class ProdosOrder
Supports disk images stored in ProDOS physical order.
| Constructor Summary | |
|---|---|
ProdosOrder(ByteArrayImageLayout diskImageManager)
Construct a ProdosOrder. |
|
| Method Summary | |
|---|---|
boolean |
isBlockDevice()
Indicates that this device is block ordered. |
boolean |
isTrackAndSectorDevice()
Indicates that this device is track and sector ordered. |
byte[] |
readBlock(int block)
Read the block from the disk image. |
byte[] |
readSector(int track,
int sector)
Retrieve the specified sector. |
void |
writeBlock(int block,
byte[] data)
Write the block to the disk image. |
void |
writeSector(int track,
int sector,
byte[] bytes)
Write the specified sector. |
| Methods inherited from class com.webcodepro.applecommander.storage.physical.ImageOrder |
|---|
format, getBlocksOnDevice, getDiskImageManager, getPhysicalSize, getSectorsPerDisk, getSectorsPerTrack, getTracksPerDisk, isSizeApprox, readBytes, setDiskImageManager, writeBytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProdosOrder(ByteArrayImageLayout diskImageManager)
| Method Detail |
|---|
public boolean isBlockDevice()
isBlockDevice in class ImageOrderpublic boolean isTrackAndSectorDevice()
isTrackAndSectorDevice in class ImageOrderpublic byte[] readBlock(int block)
readBlock in class ImageOrder
public void writeBlock(int block,
byte[] data)
writeBlock in class ImageOrder
public byte[] readSector(int track,
int sector)
throws java.lang.IllegalArgumentException
readSector in class ImageOrderjava.lang.IllegalArgumentException
public void writeSector(int track,
int sector,
byte[] bytes)
throws java.lang.IllegalArgumentException
writeSector in class ImageOrderjava.lang.IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||