Class ZipBrowser
java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.ZipBrowser
- All Implemented Interfaces:
IGenericZipBrowser
,AutoCloseable
An implementation of a Zip browser that uses the standard JDK implementation and falls back to
the Apache Commons implementation on error.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Map<String,
GenericZipEntry<?>> getEntryStream
(String name) byte[]
-
Constructor Details
-
ZipBrowser
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceIGenericZipBrowser
- Throws:
IOException
-
getEntries
- Specified by:
getEntries
in interfaceIGenericZipBrowser
-
getEntry
- Specified by:
getEntry
in interfaceIGenericZipBrowser
-
readEntry
- Specified by:
readEntry
in interfaceIGenericZipBrowser
- Throws:
IOException
-
getEntryStream
- Specified by:
getEntryStream
in interfaceIGenericZipBrowser
- Throws:
IOException
-