Package org.fugerit.java.core.io.file
Class BaseArchiveDirFileFun
- java.lang.Object
-
- org.fugerit.java.core.io.file.AbstractFileFun
-
- org.fugerit.java.core.io.file.BaseArchiveDirFileFun
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileFun
- Direct Known Subclasses:
ZipArchiveDirFileFun
public abstract class BaseArchiveDirFileFun extends AbstractFileFun
-
-
Field Summary
Fields Modifier and Type Field Description protected String
rootFullPath
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseArchiveDirFileFun()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getEntryName(File file)
abstract String[]
getFormatList()
File
getOutput()
File
getRootDir()
void
init(File rootDir, File output)
-
Methods inherited from class org.fugerit.java.core.io.file.AbstractFileFun
close, handleFile, handleFile, handleFile, handleFile, newFileFun
-
-
-
-
Field Detail
-
rootFullPath
protected String rootFullPath
-
-
Method Detail
-
getFormatList
public abstract String[] getFormatList()
-
init
public void init(File rootDir, File output) throws IOException
- Throws:
IOException
-
getOutput
public File getOutput()
-
getRootDir
public File getRootDir()
-
getEntryName
public String getEntryName(File file) throws IOException
- Throws:
IOException
-
-