public class TarResource extends ArchiveResource
MAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZEdescription, location, project| Constructor and Description | 
|---|
| TarResource()Default constructor. | 
| TarResource(java.io.File a,
           TarEntry e)Construct a TarResource representing the specified
 entry in the specified archive. | 
| TarResource(Resource a,
           TarEntry e)Construct a TarResource representing the specified
 entry in the specified archive. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | fetchEntry()fetches information from the named entry inside the archive. | 
| int | getGid() | 
| java.lang.String | getGroup() | 
| java.io.InputStream | getInputStream()Return an InputStream for reading the contents of this Resource. | 
| java.io.OutputStream | getOutputStream()Get an OutputStream for the Resource. | 
| int | getUid() | 
| java.lang.String | getUserName() | 
addConfigured, checkEntry, compareTo, dieOnCircularReference, equals, getArchive, getLastModified, getMode, getSize, hashCode, isDirectory, isExists, setArchive, setMode, setRefid, toStringas, clone, getMagicNumber, getName, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setSize, size, toLongStringcheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic TarResource()
public TarResource(java.io.File a,
                   TarEntry e)
a - the archive as File.e - the TarEntry.public java.io.InputStream getInputStream()
                                   throws java.io.IOException
getInputStream in class Resourcejava.io.IOException - if the tar file cannot be opened,
         or the entry cannot be read.public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
getOutputStream in class Resourcejava.io.IOException - if unable to provide the content of this
         Resource as a stream.java.lang.UnsupportedOperationException - if OutputStreams are not
         supported for this Resource type.public java.lang.String getUserName()
public java.lang.String getGroup()
public int getUid()
public int getGid()
protected void fetchEntry()
fetchEntry in class ArchiveResource