Class PlexusIoBzip2ResourceCollection

  • All Implemented Interfaces:
    java.lang.Iterable<org.codehaus.plexus.components.io.resources.PlexusIoResource>, org.codehaus.plexus.components.io.resources.PlexusIoArchivedResourceCollection, org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection

    public class PlexusIoBzip2ResourceCollection
    extends org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
    Implementation of PlexusIoResourceCollection for bzip2 compressed files.
    • Field Summary

      • Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection

        DEFAULT_ROLE_HINT, ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes​(java.io.File file)  
      protected java.lang.String getDefaultExtension()  
      protected java.io.InputStream getInputStream​(java.io.File file)  
      • Methods inherited from class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection

        getFile, getInputStream, getLastModified, getName, getName, getPath, getResources, isConcurrentAccessSupported, iterator, resolve, setFile, setPath, setStreamTransformer, stream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • PlexusIoBzip2ResourceCollection

        public PlexusIoBzip2ResourceCollection()
    • Method Detail

      • getInputStream

        @Nonnull
        @WillNotClose
        protected java.io.InputStream getInputStream​(java.io.File file)
                                              throws java.io.IOException
        Specified by:
        getInputStream in class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
        Throws:
        java.io.IOException
      • getAttributes

        protected org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes​(java.io.File file)
                                                                                                 throws java.io.IOException
        Specified by:
        getAttributes in class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
        Throws:
        java.io.IOException
      • getDefaultExtension

        protected java.lang.String getDefaultExtension()
        Specified by:
        getDefaultExtension in class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection