com.fernsroth.squashfs
Class SquashFSReader

java.lang.Object
  extended by com.fernsroth.squashfs.SquashFSReader

public final class SquashFSReader
extends java.lang.Object

Author:
Joseph M. Ferner (Near Infinity Corporation)

Constructor Summary
SquashFSReader(com.fernsroth.easyio.IRandomAccessSource source)
          constructor.
 
Method Summary
 Directory getRootDirectory()
          gets the root directory.
 void writeFile(SFSSquashedFile squashFile, java.io.OutputStream destFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquashFSReader

public SquashFSReader(com.fernsroth.easyio.IRandomAccessSource source)
               throws com.fernsroth.easyio.exception.EasyIOException,
                      java.io.IOException
constructor.

Parameters:
source - the data source to read.
Throws:
java.io.IOException
com.fernsroth.easyio.exception.EasyIOException
Method Detail

writeFile

public void writeFile(SFSSquashedFile squashFile,
                      java.io.OutputStream destFile)
               throws java.io.IOException
Parameters:
sourceFile - the source squashfs file.
squashFile - the squash file to write out.
destFile - the destination file.
Throws:
java.io.IOException

getRootDirectory

public Directory getRootDirectory()
gets the root directory.

Returns:
the root directory.


Copyright © 2006 null. All Rights Reserved.