public class Volume
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
BLOCK_SIZE |
int |
INODE_SIZE |
Constructor and Description |
---|
Volume(java.lang.String fileName)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
Block[] |
getFile(java.lang.String fileName)
Accessor function.
|
void |
listDir(java.lang.String dirName)
Prints the directory listing.
|
void |
listRoot()
Prints the directory listing.
|
public final int BLOCK_SIZE
public final int INODE_SIZE
public Volume(java.lang.String fileName)
fileName
- The name of the ext2 dump.public Block[] getFile(java.lang.String fileName)
fileName
- The name of the file.public void listDir(java.lang.String dirName)
dirName
- The directory name.public void listRoot()