Package io.inugami.commons.files.zip
Class ZipScaner
- java.lang.Object
-
- io.inugami.commons.files.zip.ZipScaner
-
public class ZipScaner extends Object
ZipScaner- Since:
- 23 déc. 2017
-
-
Constructor Summary
Constructors Constructor Description ZipScaner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
extractFileName(String name)
static String
readFromUrl(ZipEntry zipEntry, ZipFile zipFile)
List<URL>
scan(File path, Function<List<ZipEntry>,List<ZipEntry>> sortsFunction, List<ZipScanProcessor> processors, boolean keepHidden)
-
-
-
Method Detail
-
scan
public List<URL> scan(File path, Function<List<ZipEntry>,List<ZipEntry>> sortsFunction, List<ZipScanProcessor> processors, boolean keepHidden) throws IOException
- Throws:
IOException
-
readFromUrl
public static String readFromUrl(ZipEntry zipEntry, ZipFile zipFile) throws IOException
- Throws:
IOException
-
-