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.ResourceAttributeSupplier
public void setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes)
public URL getURL() throws IOException
getURL
in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
IOException
@Nonnull public InputStream getContents() throws IOException
getContents
in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
getContents
in interface org.codehaus.plexus.components.io.functions.ContentSupplier
getContents
in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
IOException
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.