|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdioscuri.module.ata.DiskImage
public class DiskImage
A class holding a IDE disk image.
| Field Summary | |
|---|---|
protected java.io.File |
imageFile
|
| Constructor Summary | |
|---|---|
DiskImage()
Class constructor without disk image file. |
|
DiskImage(java.io.File theImageFile)
Class constructor with disk image file. |
|
| Method Summary | |
|---|---|
protected long |
getSize()
Gets the size of the disk image in bytes. |
byte[] |
readFromImage(byte[] theData,
int theOffset,
int theLength)
Read data from image. |
void |
writeToImage(byte[] theData,
int theOffset,
int theLength)
Write to image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File imageFile
| Constructor Detail |
|---|
public DiskImage()
public DiskImage(java.io.File theImageFile)
throws java.io.IOException
theImageFile -
java.io.IOException| Method Detail |
|---|
public byte[] readFromImage(byte[] theData,
int theOffset,
int theLength)
throws java.io.IOException
theData - theOffset - theLength -
java.io.IOException
public void writeToImage(byte[] theData,
int theOffset,
int theLength)
throws java.io.IOException
theData - theOffset - theLength -
java.io.IOExceptionprotected long getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||