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
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes
getAttributes
(File file) protected String
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
-
Constructor Details
-
PlexusIoGzipResourceCollection
public PlexusIoGzipResourceCollection()
-
-
Method Details
-
getDefaultExtension
- Specified by:
getDefaultExtension
in classorg.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
-
getInputStream
- 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
-