Class JarBrowserApache
java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.ZipBrowserApache
com.pnfsoftware.jeb.util.encoding.zip.JarBrowserApache
- All Implemented Interfaces:
IGenericJarBrowser,IGenericZipBrowser,AutoCloseable
An implementation of a Jar browser that uses the Apache Commons implementation. Always return a
null certificates array for now.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCertificates(String name) Get the certificates associated with a Jar entry.Methods inherited from class com.pnfsoftware.jeb.util.encoding.zip.ZipBrowserApache
close, getEntries, getEntry, getEntryStream, readEntryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.util.encoding.zip.IGenericZipBrowser
close, getEntries, getEntry, getEntryStream, readEntry
-
Constructor Details
-
JarBrowserApache
Open a Jar archive using Apache Commons Compress.- Parameters:
f- Jar file- Throws:
IOException- if the archive cannot be opened
-
-
Method Details
-
getCertificates
Description copied from interface:IGenericJarBrowserGet the certificates associated with a Jar entry.- Specified by:
getCertificatesin interfaceIGenericJarBrowser- Parameters:
name- entry name- Returns:
- certificate chain, or null if unavailable
-