|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.devices.nortek.FileAllocationTable
public class FileAllocationTable
Represents the instrument's file allocation table.
| Field Summary | |
|---|---|
static int |
NROWS
|
static int |
ROW_LENGTH
|
static int |
TABLE_BYTES
|
| Constructor Summary | |
|---|---|
FileAllocationTable(byte[] bytes,
int totalRecorderBytes)
Create file allocation table, and set total recorder size (bytes) |
|
| Method Summary | |
|---|---|
protected boolean |
empty(int row)
Return true if specified row in table is occupied, else return false. |
int |
nFiles()
Return current number of non-empty files |
java.lang.String |
toString()
Return string representation of FAT |
long |
usedBytes()
Return number of bytes used by all files |
long |
usedBytes(int fileNo)
Return number of bytes used by specified file; fileNo must be in range 0 through 31. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TABLE_BYTES
public static final int NROWS
public static final int ROW_LENGTH
| Constructor Detail |
|---|
public FileAllocationTable(byte[] bytes,
int totalRecorderBytes)
| Method Detail |
|---|
public int nFiles()
public long usedBytes()
public long usedBytes(int fileNo)
protected boolean empty(int row)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||