|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrossi.fstools.fs.fatfs.FatTable
Class to lookup cluster pointers in the FAT table.
| Constructor Summary | |
FatTable(FatSuperBlock sb,
BlockReader br)
Create a new FatTable object for managing access to the FAT. |
|
| Method Summary | |
boolean |
isBad(int cluster)
Return true if the given cluster number is bad. |
boolean |
isEOF(int cluster)
Return true if the given cluster number is an EOF marker. |
boolean |
isFree(int cluster)
Return true if the given cluster number is free (unallocated). |
int |
lookup(int cluster)
Lookup the value for the given cluster in the FAT table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FatTable(FatSuperBlock sb,
BlockReader br)
sb - a FatSuperBlock for this filesystembr - a BlockReader initialized to read in sb.getSectorSize() blocks.| Method Detail |
public boolean isEOF(int cluster)
cluster - number
public boolean isBad(int cluster)
cluster - number
public boolean isFree(int cluster)
cluster - number
public int lookup(int cluster)
throws FsException,
java.io.IOException
cluster - a int
FsException
java.io.IOException - if an IO exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||