public final class TarResource extends CommonsCompressArchiveResource
Constructor and Description |
---|
TarResource()
Default constructor.
|
TarResource(java.io.File a,
java.lang.String enc,
org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
Construct a TarResource representing the specified
entry in the specified archive.
|
TarResource(java.io.File a,
org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
Construct a TarResource representing the specified
entry in the specified archive.
|
TarResource(org.apache.tools.ant.types.Resource a,
java.lang.String enc,
org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
Construct a TarResource representing the specified
entry in the specified archive.
|
TarResource(org.apache.tools.ant.types.Resource a,
org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
Construct a TarResource representing the specified
entry in the specified archive.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup() |
java.lang.String |
getUserName() |
protected void |
setEntry(org.apache.commons.compress.archivers.ArchiveEntry e) |
fetchEntry, getEncoding, getGid, getInputStream, getOutputStream, getUid, setEncoding, setRefid
addConfigured, checkEntry, compareTo, dieOnCircularReference, equals, getArchive, getLastModified, getMode, getSize, hashCode, isDirectory, isExists, setArchive, setMode, toString
as, clone, getMagicNumber, getName, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setSize, size, toLongString
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public TarResource()
public TarResource(java.io.File a, org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
a
- the archive as File.e
- the TarEntry.public TarResource(org.apache.tools.ant.types.Resource a, org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
a
- the archive as Resource.e
- the TarEntry.public TarResource(java.io.File a, java.lang.String enc, org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
a
- the archive as File.enc
- the encoding used for filenames.e
- the TarEntry.public TarResource(org.apache.tools.ant.types.Resource a, java.lang.String enc, org.apache.commons.compress.archivers.tar.TarArchiveEntry e)
a
- the archive as Resource.enc
- the encoding used for filenames.e
- the TarEntry.public java.lang.String getUserName()
public java.lang.String getGroup()
protected void setEntry(org.apache.commons.compress.archivers.ArchiveEntry e)
setEntry
in class CommonsCompressArchiveResource