Class Inode

java.lang.Object
  |
  +--Inode

class Inode
extends java.lang.Object


Field Summary
 short blockPtr
           
 boolean file_p
           
 byte[] name
           
private  int nameSz
           
 int size
           
 boolean used_p
           
 
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
 

Field Detail

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
Constructor Detail

Inode

public Inode(int nameSize)
Method Detail

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