Class PlexusIoZipFileResourceCollection.ZipFileResourceIterator.ZipFileResource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.jar.JarFile jarFile  
      • Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource

        UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ZipFileResource​(java.util.jar.JarFile jarFile, org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getContents()  
      java.net.URL getURL()  
      • Methods inherited from class org.codehaus.plexus.components.io.resources.PlexusIoURLResource

        getDescriptionForError
      • Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource

        getLastModified, getName, getSize, isDirectory, isExisting, isFile, isSymbolicLink
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jarFile

        private final java.util.jar.JarFile jarFile
    • Constructor Detail

      • ZipFileResource

        private ZipFileResource​(java.util.jar.JarFile jarFile,
                                org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry)
    • Method Detail

      • getContents

        public java.io.InputStream getContents()
                                        throws java.io.IOException
        Specified by:
        getContents in interface org.codehaus.plexus.components.io.functions.ContentSupplier
        Specified by:
        getContents in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
        Specified by:
        getContents in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
        Overrides:
        getContents in class org.codehaus.plexus.components.io.resources.PlexusIoURLResource
        Throws:
        java.io.IOException
      • getURL

        public java.net.URL getURL()
                            throws java.io.IOException
        Specified by:
        getURL in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
        Specified by:
        getURL in class org.codehaus.plexus.components.io.resources.PlexusIoURLResource
        Throws:
        java.io.IOException