public class TarDriverEntry
extends org.apache.commons.compress.archivers.tar.TarArchiveEntry
implements net.java.truevfs.kernel.spec.FsArchiveEntry, net.java.truecommons.shed.Releasable<java.io.IOException>
FsArchiveEntry
interface.DEFAULT_DIR_MODE, DEFAULT_FILE_MODE, MAX_NAMELEN, MILLIS_PER_SECONDALL_ACCESS, ALL_POSIX_ACCESS, ALL_POSIX_ENTITIES, ALL_SIZES, ALL_TYPES, DIRECTORY_TYPE, FILE_TYPE, NO_ACCESS, NO_POSIX_ENTITIES, NO_SIZES, NO_TYPES, SPECIAL_TYPE, SYMLINK_TYPEATIMELEN_GNU, ATIMELEN_XSTAR, CHKSUM_OFFSET, CHKSUMLEN, CTIMELEN_GNU, CTIMELEN_XSTAR, DEFAULT_BLKSIZE, DEFAULT_RCDSIZE, DEVLEN, FORMAT_OLDGNU, FORMAT_POSIX, FORMAT_XSTAR, GIDLEN, GNAMELEN, GNU_LONGLINK, ISEXTENDEDLEN_GNU, ISEXTENDEDLEN_GNU_SPARSE, LF_BLK, LF_CHR, LF_CONTIG, LF_DIR, LF_FIFO, LF_GNUTYPE_LONGLINK, LF_GNUTYPE_LONGNAME, LF_GNUTYPE_SPARSE, LF_LINK, LF_NORMAL, LF_OLDNORM, LF_PAX_EXTENDED_HEADER_LC, LF_PAX_EXTENDED_HEADER_UC, LF_PAX_GLOBAL_EXTENDED_HEADER, LF_SYMLINK, LONGNAMESLEN_GNU, MAGIC_ANT, MAGIC_GNU, MAGIC_OFFSET, MAGIC_POSIX, MAGIC_XSTAR, MAGICLEN, MAXID, MAXSIZE, MODELEN, MODTIMELEN, NAMELEN, OFFSETLEN_GNU, PAD2LEN_GNU, PREFIXLEN, PREFIXLEN_XSTAR, REALSIZELEN_GNU, SIZELEN, SPARSE_HEADERS_IN_EXTENSION_HEADER, SPARSE_HEADERS_IN_OLDGNU_HEADER, SPARSE_NUMBYTES_LEN, SPARSE_OFFSET_LEN, SPARSELEN_GNU, SPARSELEN_GNU_SPARSE, UIDLEN, UNAMELEN, VERSION_ANT, VERSION_GNU_SPACE, VERSION_GNU_ZERO, VERSION_OFFSET, VERSION_POSIX, VERSIONLEN, XSTAR_MAGIC_LEN, XSTAR_MAGIC_OFFSET| Modifier | Constructor and Description |
|---|---|
|
TarDriverEntry(java.lang.String name) |
protected |
TarDriverEntry(java.lang.String name,
org.apache.commons.compress.archivers.tar.TarArchiveEntry template) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getModTime() |
long |
getSize() |
long |
getSize(net.java.truecommons.cio.Entry.Size type) |
long |
getTime(net.java.truecommons.cio.Entry.Access type) |
net.java.truecommons.cio.Entry.Type |
getType() |
java.lang.Boolean |
isPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity) |
void |
release() |
void |
setModTime(java.util.Date time) |
void |
setModTime(long time) |
boolean |
setPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity,
java.lang.Boolean value) |
boolean |
setSize(net.java.truecommons.cio.Entry.Size type,
long size) |
void |
setSize(long size) |
boolean |
setTime(net.java.truecommons.cio.Entry.Access type,
long time) |
java.lang.String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
addPaxHeader, clearExtraPaxHeaders, equals, equals, getDevMajor, getDevMinor, getDirectoryEntries, getExtraPaxHeader, getExtraPaxHeaders, getFile, getGroupId, getGroupName, getLastModifiedDate, getLinkName, getLongGroupId, getLongUserId, getMode, getName, getRealSize, getSparseHeaders, getUserId, getUserName, hashCode, isBlockDevice, isCharacterDevice, isCheckSumOK, isDescendent, isDirectory, isExtended, isFIFO, isFile, isGlobalPaxHeader, isGNULongLinkEntry, isGNULongNameEntry, isGNUSparse, isLink, isOldGNUSparse, isPaxGNU1XSparse, isPaxGNUSparse, isPaxHeader, isSparse, isStarSparse, isSymbolicLink, parseTarHeader, parseTarHeader, setDevMajor, setDevMinor, setGroupId, setGroupId, setGroupName, setIds, setLinkName, setMode, setName, setNames, setSparseHeaders, setUserId, setUserId, setUserName, writeEntryHeader, writeEntryHeaderpublic TarDriverEntry(java.lang.String name)
protected TarDriverEntry(java.lang.String name,
org.apache.commons.compress.archivers.tar.TarArchiveEntry template)
public void release()
throws java.io.IOException
release in interface net.java.truecommons.shed.Releasable<java.io.IOException>java.io.IOExceptionpublic net.java.truecommons.cio.Entry.Type getType()
getType in interface net.java.truevfs.kernel.spec.FsArchiveEntrypublic long getSize()
getSize in interface org.apache.commons.compress.archivers.ArchiveEntrygetSize in class org.apache.commons.compress.archivers.tar.TarArchiveEntrypublic void setSize(long size)
setSize in class org.apache.commons.compress.archivers.tar.TarArchiveEntrypublic long getSize(net.java.truecommons.cio.Entry.Size type)
getSize in interface net.java.truecommons.cio.Entrypublic boolean setSize(net.java.truecommons.cio.Entry.Size type,
long size)
setSize in interface net.java.truecommons.cio.MutableEntrypublic java.util.Date getModTime()
getModTime in class org.apache.commons.compress.archivers.tar.TarArchiveEntrypublic void setModTime(long time)
setModTime in class org.apache.commons.compress.archivers.tar.TarArchiveEntrypublic void setModTime(java.util.Date time)
setModTime in class org.apache.commons.compress.archivers.tar.TarArchiveEntrypublic long getTime(net.java.truecommons.cio.Entry.Access type)
getTime in interface net.java.truecommons.cio.Entrypublic boolean setTime(net.java.truecommons.cio.Entry.Access type,
long time)
setTime in interface net.java.truecommons.cio.MutableEntrypublic java.lang.Boolean isPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity)
isPermitted in interface net.java.truecommons.cio.Entrypublic boolean setPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity,
java.lang.Boolean value)
setPermitted in interface net.java.truecommons.cio.MutableEntrypublic java.lang.String toString()
toString in class java.lang.Object