public class TarResource
extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
implements org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
Constructor and Description |
---|
TarResource(TarFile tarFile,
org.apache.commons.compress.archivers.tar.TarArchiveEntry 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 TarResource(TarFile tarFile, org.apache.commons.compress.archivers.tar.TarArchiveEntry entry)
public org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes getAttributes()
getAttributes
in interface org.codehaus.plexus.components.io.resources.PlexusIoResourceWithAttributes
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
public InputStream getContents() throws IOException
getContents
in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
getContents
in interface org.codehaus.plexus.components.io.resources.PlexusIoResource
IOException
Copyright © 2001-2014 Codehaus. All Rights Reserved.