org.codehaus.plexus.archiver.zip
Class ZipResource
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceWithAttributes
org.codehaus.plexus.archiver.zip.ZipResource
- All Implemented Interfaces:
- org.codehaus.plexus.components.io.fileselectors.FileInfo, org.codehaus.plexus.components.io.resources.PlexusIoResource, org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
public class ZipResource
- extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceWithAttributes
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource |
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE |
Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource |
getLastModified, getName, getSize, isDirectory, isExisting, isFile, setDirectory, setExisting, setFile, setLastModified, setName, setSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource |
getLastModified, getSize, isExisting |
Methods inherited from interface org.codehaus.plexus.components.io.fileselectors.FileInfo |
getName, isDirectory, isFile |
ZipResource
public ZipResource(ZipFile zipFile,
ZipEntry entry)
getAttributes
public org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes()
- Specified by:
getAttributes
in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
- Overrides:
getAttributes
in class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceWithAttributes
setAttributes
public void setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes)
- Specified by:
setAttributes
in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
- Overrides:
setAttributes
in class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceWithAttributes
getURL
public URL getURL()
throws IOException
- Throws:
IOException
getContents
public InputStream getContents()
throws IOException
- Throws:
IOException
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.