|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webcodepro.applecommander.storage.physical.ByteArrayImageLayout
com.webcodepro.applecommander.storage.physical.UniversalDiskImageLayout
public class UniversalDiskImageLayout
Manages the physical 2IMG disk.
| Field Summary | |
|---|---|
static int |
OFFSET
This is the 2IMG offset. |
| Constructor Summary | |
|---|---|
UniversalDiskImageLayout(byte[] diskImage)
Construct a UniversalDiskImageLayout. |
|
UniversalDiskImageLayout(byte[] diskImage,
boolean changed)
Construct a UniversalDiskImageLayout. |
|
UniversalDiskImageLayout(int size)
Construct a UniversalDiskImageLayout. |
|
| Method Summary | |
|---|---|
byte[] |
readBytes(int start,
int length)
Extract a portion of the disk image. |
void |
writeBytes(int start,
byte[] bytes)
Write data to the disk image. |
| Methods inherited from class com.webcodepro.applecommander.storage.physical.ByteArrayImageLayout |
|---|
getDiskImage, getPhysicalSize, hasChanged, setChanged, setDiskImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OFFSET
| Constructor Detail |
|---|
public UniversalDiskImageLayout(byte[] diskImage)
public UniversalDiskImageLayout(byte[] diskImage,
boolean changed)
public UniversalDiskImageLayout(int size)
| Method Detail |
|---|
public byte[] readBytes(int start,
int length)
readBytes in class ByteArrayImageLayout
public void writeBytes(int start,
byte[] bytes)
writeBytes in class ByteArrayImageLayout
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||