com.fernsroth.squashfs
Class OutputWalkHandler

java.lang.Object
  extended by com.fernsroth.squashfs.OutputWalkHandler
All Implemented Interfaces:
WalkHandler

public class OutputWalkHandler
extends java.lang.Object
implements WalkHandler

Author:
Joseph M. Ferner (Near Infinity Corporation)

Constructor Summary
OutputWalkHandler(SquashFSReader reader, java.io.File destFile)
           
 
Method Summary
 void setIncludeMTimeInManfest(boolean includeMTimeInManfest)
           
 void visit(Directory[] path, BaseFile file)
          
 void writeManifest(java.io.File manifestFile)
          writes the manifest file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputWalkHandler

public OutputWalkHandler(SquashFSReader reader,
                         java.io.File destFile)
                  throws javax.xml.parsers.ParserConfigurationException
Parameters:
reader - the source file.
destFile - the destination file.
Throws:
javax.xml.parsers.ParserConfigurationException
Method Detail

visit

public void visit(Directory[] path,
                  BaseFile file)
           throws java.io.IOException

Specified by:
visit in interface WalkHandler
Parameters:
path - the path where the file resides.
file - the file visited.
Throws:
java.io.IOException

writeManifest

public void writeManifest(java.io.File manifestFile)
                   throws java.io.IOException,
                          javax.xml.transform.TransformerException
writes the manifest file.

Parameters:
manifestFile - the manifest file to write.
Throws:
java.io.IOException
javax.xml.transform.TransformerException

setIncludeMTimeInManfest

public void setIncludeMTimeInManfest(boolean includeMTimeInManfest)
Parameters:
includeMTimeInManfest -


Copyright © 2006 null. All Rights Reserved.