rossi.fstools.fs.ext2fs
Class Ext2Directory

java.lang.Object
  extended byrossi.fstools.fs.ext2fs.Ext2Directory
All Implemented Interfaces:
Directory, FsObject

public class Ext2Directory
extends java.lang.Object
implements Directory

Represents an EXT2 directory.

Direcoties on EXT2 are stored as files containing a linked list of DirEntries.


Constructor Summary
Ext2Directory(File file)
          Create an Ext2Directory 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

Ext2Directory

public Ext2Directory(File file)
              throws java.io.IOException,
                     FsException
Create an Ext2Directory 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