Class SevenZArchiveDirFileFun
- java.lang.Object
-
- org.fugerit.java.core.io.file.AbstractFileFun
-
- org.fugerit.java.core.io.file.BaseArchiveDirFileFun
-
- org.fugerit.java.tool.compress.sevenz.SevenZArchiveDirFileFun
-
- All Implemented Interfaces:
Closeable,AutoCloseable,FileFun
public class SevenZArchiveDirFileFun extends BaseArchiveDirFileFun
-
-
Field Summary
-
Fields inherited from class org.fugerit.java.core.io.file.BaseArchiveDirFileFun
rootFullPath
-
-
Constructor Summary
Constructors Constructor Description SevenZArchiveDirFileFun()SevenZArchiveDirFileFun(File rootDir, File output)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()String[]getFormatList()voidhandleFile(File file)voidinit(File rootDir, File output)static OutputStreamnewWrapperStream(org.apache.commons.compress.archivers.sevenz.SevenZOutputFile archiveFile)-
Methods inherited from class org.fugerit.java.core.io.file.BaseArchiveDirFileFun
getEntryName, getOutput, getRootDir
-
Methods inherited from class org.fugerit.java.core.io.file.AbstractFileFun
handleFile, handleFile, handleFile, newFileFun
-
-
-
-
Constructor Detail
-
SevenZArchiveDirFileFun
public SevenZArchiveDirFileFun()
-
SevenZArchiveDirFileFun
public SevenZArchiveDirFileFun(File rootDir, File output) throws IOException
- Throws:
IOException
-
-
Method Detail
-
newWrapperStream
public static OutputStream newWrapperStream(org.apache.commons.compress.archivers.sevenz.SevenZOutputFile archiveFile)
-
init
public void init(File rootDir, File output) throws IOException
- Overrides:
initin classBaseArchiveDirFileFun- Throws:
IOException
-
handleFile
public void handleFile(File file) throws IOException
- Throws:
IOException
-
getFormatList
public String[] getFormatList()
- Specified by:
getFormatListin classBaseArchiveDirFileFun
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceFileFun- Overrides:
closein classAbstractFileFun- Throws:
IOException
-
-