public class ZipResource
extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
implements org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
| Constructor and Description |
|---|
ZipResource(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry) |
| 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)
public org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes()
getAttributes in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributespublic void setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes)
public URL getURL() throws IOException
getURL in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceIOExceptionpublic InputStream getContents() throws IOException
getContents in interface org.codehaus.plexus.components.io.fileselectors.FileInfogetContents in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceIOExceptionCopyright © 2001-2014 Codehaus. All Rights Reserved.