public class Inode
extends java.lang.Object
Constructor and Description |
---|
Inode(short fileMode,
short uID,
int fileSizeLower,
int lastAccessed,
int creationTime,
int lastModified,
int deletionTime,
short gID,
short hardLinks,
int[] blockPointers,
int indirectPointer,
int dIndirectPointer,
int tIndirectPointer,
int fileSizeUpper,
boolean debug)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
int |
getBlockPointer(int blockID)
Accessor function.
|
int |
getFileSizeLower()
Accessor function.
|
public Inode(short fileMode, short uID, int fileSizeLower, int lastAccessed, int creationTime, int lastModified, int deletionTime, short gID, short hardLinks, int[] blockPointers, int indirectPointer, int dIndirectPointer, int tIndirectPointer, int fileSizeUpper, boolean debug)
fileMode
- The file mode.uID
- The owner user ID.fileSizeLower
- The lower 32 bits of the file size.lastAccessed
- The time of last access.creationTime
- The time of creation.lastModified
- The time of last modification.deletionTime
- The time of deletion.gID
- The owner group ID.hardLinks
- The number of hard links to the file.blockPointers
- The twelve block pointers.indirectPointer
- The indirect block pointer.dIndirectPointer
- The double indirect block pointer.tIndirectPointer
- The triple indirect block pointer.fileSizeUpper
- The upper 32 bits of the file size.debug
- Whether debug mode is active or not.