rossi.fstools.io
Class BlockPointer
java.lang.Object
rossi.fstools.io.BlockPointer
- public class BlockPointer
- extends java.lang.Object
This class represents a pointer to a chunk of data on disk. A file may
be composed of a list of these.
Note that length may be longer than blockSize. In which case this pointer
represents multiple consecutive blocks.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
blockNum
protected int blockNum
offset
protected int offset
length
protected int length
blockSize
protected int blockSize
BlockPointer
public BlockPointer()
getBlockNum
public int getBlockNum()
setBlockNum
public void setBlockNum(int aBlockNum)
getOffset
public int getOffset()
setOffset
public void setOffset(int aOffset)
getLength
public int getLength()
setLength
public void setLength(int aLength)
getBlockSize
public int getBlockSize()
setBlockSize
public void setBlockSize(int aBlockSize)
toString
public java.lang.String toString()