com.fernsroth.squashfs.model
Class Manifest

java.lang.Object
  extended by com.fernsroth.squashfs.model.Manifest

public class Manifest
extends java.lang.Object

Author:
Joseph M. Ferner (Near Infinity Corporation)

Constructor Summary
Manifest()
           
 
Method Summary
 BaseFile find(java.lang.String filename)
           
 java.lang.String getPath(BaseFile bf)
          get the path to a file.
 Directory getRoot()
          gets the root directory.
 void setRoot(Directory root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manifest

public Manifest()
Method Detail

getRoot

public Directory getRoot()
gets the root directory.

Returns:
the root directory.

setRoot

public void setRoot(Directory root)
Parameters:
root - the root to set

find

public BaseFile find(java.lang.String filename)
Parameters:
filename - the file name to find.
Returns:
the BaseFile with that path.

getPath

public java.lang.String getPath(BaseFile bf)
get the path to a file.

Parameters:
bf - the file to find path to.
Returns:
the path.


Copyright © 2006 null. All Rights Reserved.