rossi.fstools.fs.fatfs
Class FatRootDirFile

java.lang.Object
  extended byrossi.fstools.fs.fatfs.FatRootDirFile
All Implemented Interfaces:
File, FsObject

public class FatRootDirFile
extends java.lang.Object
implements File

Special file representing the root directory on FAT12 and FAT16.


Constructor Summary
FatRootDirFile(FatSuperBlock sb, BlockReader blockReader)
           
 
Method Summary
 BlockPointerInputStream getData()
          Get a BlockPointerInputStream to the data contained within the file.
 BlockPointerInputStream getSlack()
          Get a BlockPointerInputStream to the slack space contained at the end of the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FatRootDirFile

public FatRootDirFile(FatSuperBlock sb,
                      BlockReader blockReader)
Method Detail

getData

public BlockPointerInputStream getData()
Description copied from interface: File
Get a BlockPointerInputStream to the data contained within the file.

Specified by:
getData in interface File
Returns:
BlockPointerInputStream - an input stream of the file's data.
See Also:
BlockPointerInputStream

getSlack

public BlockPointerInputStream getSlack()
Description copied from interface: File
Get a BlockPointerInputStream to the slack space contained at the end of the file.

Specified by:
getSlack in interface File
Returns:
BlockPointerInputStream - an input stream of the file's slack data.
See Also:
BlockPointerInputStream