public class ZipResource
extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
implements org.codehaus.plexus.components.io.functions.ResourceAttributeSupplier
| Constructor and Description |
|---|
ZipResource(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.codehaus.plexus.components.io.functions.InputStreamTransformer streamTransformer) |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes |
getAttributes() |
InputStream |
getContents() |
URL |
getURL() |
void |
setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes) |
public ZipResource(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.codehaus.plexus.components.io.functions.InputStreamTransformer streamTransformer)
public org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes()
getAttributes in interface org.codehaus.plexus.components.io.functions.ResourceAttributeSupplierpublic void setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes)
public URL getURL() throws IOException
getURL in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceIOException@Nonnull public InputStream getContents() throws IOException
getContents in interface org.codehaus.plexus.components.io.fileselectors.FileInfogetContents in interface org.codehaus.plexus.components.io.functions.ContentSuppliergetContents in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceIOExceptionCopyright © 2001–2017 Codehaus Plexus. All rights reserved.