public class Ext2File
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
BLOCK_SIZE |
Constructor and Description |
---|
Ext2File(Block[] blocks,
boolean debug)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
Block |
getBlock(int num)
Accessor function.
|
void |
hexDump()
Prints a formatted hex dump of the block's contents.
|
public final int BLOCK_SIZE
public Ext2File(Block[] blocks, boolean debug)
blocks
- The array of Blocks containing the file.debug
- Whether debug mode is active or not.public Block getBlock(int num)
num
- The Index of the block.public void hexDump()