public class TarDriverEntry extends TarArchiveEntry implements FsArchiveEntry, net.java.truecommons.shed.Releasable<IOException>
FsArchiveEntry
interface.DEFAULT_DIR_MODE, DEFAULT_FILE_MODE, MAX_NAMELEN, MILLIS_PER_SECOND
ALL_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_TYPE, UNKNOWN
SIZE_UNKNOWN
ATIMELEN_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, 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(String name) |
protected |
TarDriverEntry(String name,
TarArchiveEntry template) |
Modifier and Type | Method and Description |
---|---|
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()
Returns the type of this archive entry.
|
Boolean |
isPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity) |
void |
release() |
void |
setModTime(Date time) |
void |
setModTime(long time) |
boolean |
setPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity,
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) |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
equals, equals, getDevMajor, getDevMinor, getDirectoryEntries, getFile, getGroupId, getGroupName, getLastModifiedDate, getLinkName, getLongGroupId, getLongUserId, getMode, getName, getRealSize, getUserId, getUserName, hashCode, isBlockDevice, isCharacterDevice, isCheckSumOK, isDescendent, isDirectory, isExtended, isFIFO, isFile, isGlobalPaxHeader, isGNULongLinkEntry, isGNULongNameEntry, isGNUSparse, isLink, isOldGNUSparse, isPaxGNUSparse, isPaxHeader, isSparse, isStarSparse, isSymbolicLink, parseTarHeader, parseTarHeader, setDevMajor, setDevMinor, setGroupId, setGroupId, setGroupName, setIds, setLinkName, setMode, setName, setNames, setUserId, setUserId, setUserName, writeEntryHeader, writeEntryHeader
public TarDriverEntry(String name)
protected TarDriverEntry(String name, TarArchiveEntry template)
public Date getModTime()
getModTime
in class TarArchiveEntry
public long getSize()
getSize
in interface ArchiveEntry
getSize
in class TarArchiveEntry
public long getSize(net.java.truecommons.cio.Entry.Size type)
getSize
in interface net.java.truecommons.cio.Entry
public long getTime(net.java.truecommons.cio.Entry.Access type)
getTime
in interface net.java.truecommons.cio.Entry
public net.java.truecommons.cio.Entry.Type getType()
FsArchiveEntry
getType
in interface FsArchiveEntry
public Boolean isPermitted(net.java.truecommons.cio.Entry.Access type, net.java.truecommons.cio.Entry.Entity entity)
isPermitted
in interface net.java.truecommons.cio.Entry
public void release() throws IOException
release
in interface net.java.truecommons.shed.Releasable<IOException>
IOException
public void setModTime(Date time)
setModTime
in class TarArchiveEntry
public void setModTime(long time)
setModTime
in class TarArchiveEntry
public boolean setPermitted(net.java.truecommons.cio.Entry.Access type, net.java.truecommons.cio.Entry.Entity entity, Boolean value)
setPermitted
in interface net.java.truecommons.cio.MutableEntry
public boolean setSize(net.java.truecommons.cio.Entry.Size type, long size)
setSize
in interface net.java.truecommons.cio.MutableEntry
public void setSize(long size)
setSize
in class TarArchiveEntry
public boolean setTime(net.java.truecommons.cio.Entry.Access type, long time)
setTime
in interface net.java.truecommons.cio.MutableEntry
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.