org.codehaus.plexus.archiver.tar
Class TarResource
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.archiver.tar.TarResource
- 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 TarResource
- extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
- implements org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
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 |
TarResource
public TarResource(TarFile tarFile,
TarEntry entry)
getAttributes
public org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes()
- Specified by:
getAttributes
in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
setAttributes
public void setAttributes(org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes attributes)
- Specified by:
setAttributes
in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
getURL
public URL getURL()
throws IOException
- Specified by:
getURL
in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
- Throws:
IOException
getContents
public InputStream getContents()
throws IOException
- Specified by:
getContents
in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
- Throws:
IOException
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.