Class Inode
java.lang.Object
|
+--Inode
- class Inode
- extends java.lang.Object
Constructor Summary |
Inode(int nameSize)
|
Method Summary |
void |
Alloc(java.lang.String name,
boolean file_flag)
|
java.lang.String |
getName()
|
void |
list(java.lang.String base)
|
void |
read(java.io.RandomAccessFile fp)
|
void |
setName(java.lang.String str)
|
void |
write(java.io.RandomAccessFile fp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
used_p
public boolean used_p
file_p
public boolean file_p
name
public byte[] name
size
public int size
blockPtr
public short blockPtr
nameSz
private int nameSz
Inode
public Inode(int nameSize)
list
public void list(java.lang.String base)
Alloc
public void Alloc(java.lang.String name,
boolean file_flag)
throws FileSystemException
FileSystemException
getName
public java.lang.String getName()
setName
public void setName(java.lang.String str)
throws FileSystemException
FileSystemException
write
public void write(java.io.RandomAccessFile fp)
throws FileSystemException
FileSystemException
read
public void read(java.io.RandomAccessFile fp)
throws FileSystemException
FileSystemException