rossi.fstools.fs.fatfs
Class FatDirectory

java.lang.Object
  extended byrossi.fstools.fs.fatfs.FatDirectory
All Implemented Interfaces:
Directory, FsObject

public class FatDirectory
extends java.lang.Object
implements Directory

Represents an FAT directory.

Direcoties on FAT are stored as files containing an array of DirEntries.


Constructor Summary
FatDirectory(File file)
          Create an FatDirectory given a File.
 
Method Summary
 java.util.Map getInodePtrMap()
          Returns a map of Strings to InodePtr objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FatDirectory

public FatDirectory(File file)
             throws java.io.IOException,
                    FsException
Create an FatDirectory given a File.

Parameters:
file - a File containting directory data.
Throws:
java.io.IOException
FsException
Method Detail

getInodePtrMap

public java.util.Map getInodePtrMap()
Description copied from interface: Directory
Returns a map of Strings to InodePtr objects. The keys in the map are the names of the objects the InodePtrs represent

Specified by:
getInodePtrMap in interface Directory
Returns:
Map of InodePtr objects