|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrossi.fstools.fs.reiserfs.ReiserFile
Representation of a file. The file data is build up from DirectItems and IndirectItems.
| Field Summary | |
protected java.util.List |
blkPointerList
|
protected BlockReader |
reader
|
protected long |
size
|
protected long |
sizeRemaining
|
protected java.util.List |
slackList
|
| Constructor Summary | |
ReiserFile(long fileSize,
BlockReader reader)
Crate a new file. |
|
| Method Summary | |
void |
add(DirectItem itm)
Add a DirectItem to the file. |
void |
add(IndirectItem ind)
Adds an IndirectItem to this file. |
BlockPointerInputStream |
getData()
Get a BlockPointerInputStream to the data contained within the file. |
BlockPointerInputStream |
getSlack()
Get a BlockPointerInputStream to the slack space contained at the end of the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List blkPointerList
protected java.util.List slackList
protected long size
protected long sizeRemaining
protected BlockReader reader
| Constructor Detail |
public ReiserFile(long fileSize,
BlockReader reader)
fileSize - the length of the file from the StatDataItemreader - a BlockReader to read the physical disk with| Method Detail |
public void add(IndirectItem ind)
ind - a IndirectItempublic void add(DirectItem itm)
itm - a DirectItempublic BlockPointerInputStream getData()
File
getData in interface FileBlockPointerInputStreampublic BlockPointerInputStream getSlack()
File
getSlack in interface FileBlockPointerInputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||