Class PlexusIoJarFileResourceCollectionWithSignatureVerification
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
org.codehaus.plexus.archiver.zip.PlexusIoJarFileResourceCollectionWithSignatureVerification
- All Implemented Interfaces:
Iterable<org.codehaus.plexus.components.io.resources.PlexusIoResource>, org.codehaus.plexus.components.io.resources.EncodingSupported, org.codehaus.plexus.components.io.resources.PlexusIoArchivedResourceCollection, org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
- Direct Known Subclasses:
PlexusIoJarFileResourceCollection
public class PlexusIoJarFileResourceCollectionWithSignatureVerification
extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
implements org.codehaus.plexus.components.io.resources.EncodingSupported
Zip file resource collection that uses JarFile for reading entries,
which verifies JAR signatures when the file is signed.
This is slower than
PlexusArchiverZipFileResourceCollection but is necessary
for signed JAR files to maintain security.-
Field Summary
Fields inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
identityTransformer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterator<org.codehaus.plexus.components.io.resources.PlexusIoResource> booleanvoidsetEncoding(Charset charset) Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
getFile, getLastModified, getResources, setFile, streamMethods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
getExcludes, getFileMappers, getFileSelectors, getIncludes, getInputStream, getName, getName, getPrefix, getStreamTransformer, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, iterator, resolve, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setStreamTransformer, setUsingDefaultExcludesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
getInputStream, getName, resolve
-
Constructor Details
-
PlexusIoJarFileResourceCollectionWithSignatureVerification
public PlexusIoJarFileResourceCollectionWithSignatureVerification()
-
-
Method Details
-
isConcurrentAccessSupported
public boolean isConcurrentAccessSupported()- Specified by:
isConcurrentAccessSupportedin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
-
getEntries
protected Iterator<org.codehaus.plexus.components.io.resources.PlexusIoResource> getEntries() throws IOException- Specified by:
getEntriesin classorg.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection- Throws:
IOException
-
setEncoding
- Specified by:
setEncodingin interfaceorg.codehaus.plexus.components.io.resources.EncodingSupported
-