Class DirectoryBlockAbstract
java.lang.Object
|
+--Block
|
+--DirectoryBlockAbstract
- Direct Known Subclasses:
- DirectoryBlock
- abstract class DirectoryBlockAbstract
- extends Block
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inodes
public Inode[] inodes
nameSize
public final int nameSize
- See Also:
- Constant Field Values
nextBlkPtr
public short nextBlkPtr
maxFiles
public final int maxFiles
- See Also:
- Constant Field Values
block_num
public int block_num
disk
public Disk disk
DirectoryBlockAbstract
public DirectoryBlockAbstract(Disk dsk)
list
public final void list(java.lang.String base)
DeallocEntry
public final void DeallocEntry(int index)
write
public final void write(int block)
throws FileSystemException
- Specified by:
write
in class Block
FileSystemException
read
public final void read(int block)
throws FileSystemException
- Specified by:
read
in class Block
FileSystemException
findName
public abstract int findName(java.lang.String name)
numEntries
public abstract int numEntries()
AllocFree
public abstract int AllocFree(java.lang.String name,
boolean file_flag)
throws FileSystemException
FileSystemException