Package org.fugerit.java.core.io.file
Class ZipArchiveDirFileFun
- java.lang.Object
-
- org.fugerit.java.core.io.file.AbstractFileFun
-
- org.fugerit.java.core.io.file.BaseArchiveDirFileFun
-
- org.fugerit.java.core.io.file.ZipArchiveDirFileFun
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileFun
public class ZipArchiveDirFileFun extends BaseArchiveDirFileFun
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
FORMAT_LIST
-
Fields inherited from class org.fugerit.java.core.io.file.BaseArchiveDirFileFun
rootFullPath
-
-
Constructor Summary
Constructors Constructor Description ZipArchiveDirFileFun()
ZipArchiveDirFileFun(File rootDir, File output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String[]
getFormatList()
void
handleFile(File file)
void
init(File rootDir, File output)
-
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
-
-
-
-
Field Detail
-
FORMAT_LIST
public static final String[] FORMAT_LIST
-
-
Constructor Detail
-
ZipArchiveDirFileFun
public ZipArchiveDirFileFun()
-
ZipArchiveDirFileFun
public ZipArchiveDirFileFun(File rootDir, File output) throws IOException
- Throws:
IOException
-
-
Method Detail
-
init
public void init(File rootDir, File output) throws IOException
- Overrides:
init
in classBaseArchiveDirFileFun
- Throws:
IOException
-
handleFile
public void handleFile(File file) throws IOException
- Specified by:
handleFile
in interfaceFileFun
- Specified by:
handleFile
in classAbstractFileFun
- Throws:
IOException
-
getFormatList
public String[] getFormatList()
- Specified by:
getFormatList
in classBaseArchiveDirFileFun
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceFileFun
- Overrides:
close
in classAbstractFileFun
- Throws:
IOException
-
-