Class PlexusIoGzipResourceCollection
- java.lang.Object
-
- org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
-
- org.codehaus.plexus.archiver.gzip.PlexusIoGzipResourceCollection
-
- All Implemented Interfaces:
Iterable<org.codehaus.plexus.components.io.resources.PlexusIoResource>
,org.codehaus.plexus.components.io.resources.PlexusIoArchivedResourceCollection
,org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
- Direct Known Subclasses:
PlexusIoGzResourceCollection
@Named("gzip") public class PlexusIoGzipResourceCollection extends org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
Abstract base class for compressed files, aka singleton resource collections.
-
-
Constructor Summary
Constructors Constructor Description PlexusIoGzipResourceCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes
getAttributes(File file)
protected String
getDefaultExtension()
protected InputStream
getInputStream(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
-
-
-
-
Method Detail
-
getDefaultExtension
protected String getDefaultExtension()
- Specified by:
getDefaultExtension
in classorg.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
-
getInputStream
@Nonnull protected InputStream getInputStream(File file) throws IOException
- Specified by:
getInputStream
in classorg.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
- Throws:
IOException
-
getAttributes
protected org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes(File file) throws IOException
- Specified by:
getAttributes
in classorg.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
- Throws:
IOException
-
-