public class GroupDescriptor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.nio.ByteBuffer |
buffer |
private int[] |
gdPointer |
private int |
groupCount |
| Constructor and Description |
|---|
GroupDescriptor(byte[] bytes,
int groupCount)
Constructor of the GroupDescriptor class
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int[] |
getGDescPointer() |
private void |
read()
This method reads the group descriptor for each block group and adds the offset
of the inode table pointer to the gdPointer[] array
|
private java.nio.ByteBuffer buffer
private int groupCount
private int[] gdPointer
public GroupDescriptor(byte[] bytes,
int groupCount)
bytes - is the array of bytes that the group descriptor class will usegroupCount - is the number of block groups, calculated from data obtained from the SuperBlock