public abstract class Block extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
blockSize
Size of the block
|
protected Field |
field
Field in which the information is stored
|
| Constructor and Description |
|---|
Block(int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(RandomAccessFile raf,
int blockNum)
Loads the block with the given number in memory, reading it from a RandomAccessFile.
|
protected int blockSize
protected Field field
public void read(RandomAccessFile raf, int blockNum) throws IOException
IOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.