Class Block

java.lang.Object
  |
  +--Block
Direct Known Subclasses:
DataBlock, DirectoryBlockAbstract

abstract class Block
extends java.lang.Object


Field Summary
 int block_num
           
 Disk disk
           
 int maxFiles
           
 int nameSize
           
 short nextBlkPtr
           
 
Constructor Summary
(package private) Block()
           
 
Method Summary
abstract  void read(int block)
           
abstract  void write(int block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Block

Block()
Method Detail

write

public abstract void write(int block)
                    throws FileSystemException
FileSystemException

read

public abstract void read(int block)
                   throws FileSystemException
FileSystemException