com.fernsroth.squashfs
Class OutputWalkHandler
java.lang.Object
com.fernsroth.squashfs.OutputWalkHandler
- All Implemented Interfaces:
- WalkHandler
public class OutputWalkHandler
- extends java.lang.Object
- implements WalkHandler
- Author:
- Joseph M. Ferner (Near Infinity Corporation)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.