Class Disk

java.lang.Object
  |
  +--Disk

class Disk
extends java.lang.Object


Field Summary
 int blockSize
           
 boolean debug_flag
           
 java.io.RandomAccessFile fp
           
 int numBlocks
           
 
Constructor Summary
Disk(java.lang.String fname, int bs, int nb)
           
 
Method Summary
 void debug(java.lang.String strg)
           
 void format()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numBlocks

public int numBlocks

blockSize

public int blockSize

fp

public java.io.RandomAccessFile fp

debug_flag

public boolean debug_flag
Constructor Detail

Disk

public Disk(java.lang.String fname,
            int bs,
            int nb)
Method Detail

debug

public void debug(java.lang.String strg)

format

public void format()
            throws FileSystemException
FileSystemException