Package org.jbundle.jbackup.source
Class ZipSourceFile
- java.lang.Object
-
- org.jbundle.jbackup.source.BaseSourceFile
-
- org.jbundle.jbackup.source.ZipSourceFile
-
- All Implemented Interfaces:
SourceFile
public class ZipSourceFile extends BaseSourceFile implements SourceFile
Directory scanner. This class is a utility for scanning through a directory tree.- Version:
- Author:
- Administrator
-
-
Field Summary
-
Fields inherited from class org.jbundle.jbackup.source.BaseSourceFile
m_FileName, m_FilePath, m_inputFile, m_InputStream, m_lStreamLength
-
-
Constructor Summary
Constructors Constructor Description ZipSourceFile()ZipSourceFile(File inputFile, InputStream inputStream, String filePath, String fileName, long lStreamLength)ZipSourceFile(InputStream inputStream, String filePath, String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the source file.voidinit(File inputFile, InputStream inputStream, String filePath, String fileName, long lStreamLength)-
Methods inherited from class org.jbundle.jbackup.source.BaseSourceFile
getFile, getFileName, getFilePath, getInputStream, getStreamLength, makeInFile, makeInFile, makeInStream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbundle.jbackup.source.SourceFile
getFile, getFileName, getFilePath, getInputStream, getStreamLength, makeInFile, makeInFile, makeInStream
-
-
-
-
Constructor Detail
-
ZipSourceFile
public ZipSourceFile()
-
ZipSourceFile
public ZipSourceFile(InputStream inputStream, String filePath, String fileName)
-
ZipSourceFile
public ZipSourceFile(File inputFile, InputStream inputStream, String filePath, String fileName, long lStreamLength)
-
-
Method Detail
-
init
public void init(File inputFile, InputStream inputStream, String filePath, String fileName, long lStreamLength)
- Overrides:
initin classBaseSourceFile
-
close
public void close()
Close the source file.- Specified by:
closein interfaceSourceFile- Overrides:
closein classBaseSourceFile
-
-