|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.utility.CachedRandomAccessFile.FileBlock
Field Summary | |
byte[] |
bytes
Description of the Field |
long |
filePos
Description of the Field |
int |
len
Description of the Field |
CachedRandomAccessFile.FileBlock |
nextModifiedBlock
Description of the Field |
CachedRandomAccessFile.FileBlock |
prevModifiedBlock
Description of the Field |
Constructor Summary | |
CachedRandomAccessFile.FileBlock(int blockSize)
Constructor for the FileBlock object |
Method Summary | |
int |
getOffset(long filePos)
Gets the Offset attribute of the FileBlock object |
boolean |
isLoaded()
Gets the Loaded attribute of the FileBlock object |
boolean |
isModified()
Gets the Modified attribute of the FileBlock object |
void |
modified()
Description of the Method |
int |
read()
Description of the Method |
java.lang.String |
toString()
Description of the Method |
void |
write()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public byte[] bytes
public int len
public long filePos
public CachedRandomAccessFile.FileBlock prevModifiedBlock
public CachedRandomAccessFile.FileBlock nextModifiedBlock
Constructor Detail |
public CachedRandomAccessFile.FileBlock(int blockSize)
blockSize
- Description of ParameterMethod Detail |
public boolean isModified()
public boolean isLoaded()
public int getOffset(long filePos)
filePos
- Description of Parameter
public int read() throws java.io.IOException
java.io.IOException
- Description of Exceptionpublic void write() throws java.io.IOException
java.io.IOException
- Description of Exceptionpublic void modified()
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 |