public class TarDriverEntry extends TarArchiveEntry implements FsArchiveEntry, Pool.Releasable<IOException>
FsArchiveEntry
interface.Entry.Access, Entry.Size, Entry.TypeDEFAULT_DIR_MODE, DEFAULT_FILE_MODE, MAX_NAMELEN, MILLIS_PER_SECONDALL_ACCESS_SET, ALL_SIZE_SET, ALL_TYPE_SET, DIRECTORY_TYPE_SET, FILE_TYPE_SET, SPECIAL_TYPE_SET, SYMLINK_TYPE_SET, UNKNOWNATIMELEN_GNU, CHKSUM_OFFSET, CHKSUMLEN, CTIMELEN_GNU, DEFAULT_BLKSIZE, DEFAULT_RCDSIZE, DEVLEN, FORMAT_OLDGNU, FORMAT_POSIX, 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, MAGICLEN, MAXID, MAXSIZE, MODELEN, MODTIMELEN, NAMELEN, OFFSETLEN_GNU, PAD2LEN_GNU, PREFIXLEN, REALSIZELEN_GNU, SIZELEN, SPARSELEN_GNU, SPARSELEN_GNU_SPARSE, UIDLEN, UNAMELEN, VERSION_ANT, VERSION_GNU_SPACE, VERSION_GNU_ZERO, VERSION_OFFSET, VERSION_POSIX, VERSIONLENSIZE_UNKNOWN| Modifier | Constructor and Description |
|---|---|
|
TarDriverEntry(String name) |
protected |
TarDriverEntry(String name,
TarArchiveEntry template) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Date |
getModTime() |
long |
getSize() |
long |
getSize(Entry.Size type) |
long |
getTime(Entry.Access type) |
Entry.Type |
getType() |
int |
hashCode() |
void |
release() |
void |
setModTime(Date time) |
void |
setModTime(long time) |
boolean |
setSize(Entry.Size type,
long size) |
void |
setSize(long size) |
boolean |
setTime(Entry.Access type,
long time) |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
equals, getDevMajor, getDevMinor, getDirectoryEntries, getFile, getGroupId, getGroupName, getLastModifiedDate, getLinkName, getMode, getName, getRealSize, getUserId, getUserName, isBlockDevice, isCharacterDevice, isCheckSumOK, isDescendent, isDirectory, isExtended, isFIFO, isFile, isGlobalPaxHeader, isGNULongLinkEntry, isGNULongNameEntry, isGNUSparse, isLink, isPaxHeader, isSymbolicLink, parseTarHeader, parseTarHeader, setDevMajor, setDevMinor, setGroupId, setGroupName, setIds, setLinkName, setMode, setName, setNames, setUserId, setUserName, writeEntryHeader, writeEntryHeaderpublic TarDriverEntry(String name)
protected TarDriverEntry(String name, TarArchiveEntry template)
public boolean equals(Object that)
equals in class TarArchiveEntrypublic Date getModTime()
getModTime in class TarArchiveEntrypublic long getSize()
getSize in interface ArchiveEntrygetSize in class TarArchiveEntrypublic long getSize(Entry.Size type)
public long getTime(Entry.Access type)
public Entry.Type getType()
getType in interface FsArchiveEntrypublic int hashCode()
hashCode in class TarArchiveEntrypublic void release()
throws IOException
release in interface Pool.Releasable<IOException>IOExceptionpublic void setModTime(Date time)
setModTime in class TarArchiveEntrypublic void setModTime(long time)
setModTime in class TarArchiveEntrypublic boolean setSize(Entry.Size type, long size)
setSize in interface MutableEntrypublic void setSize(long size)
setSize in class TarArchiveEntrypublic boolean setTime(Entry.Access type, long time)
setTime in interface MutableEntryCopyright © 2005–2016 Schlichtherle IT Services. All rights reserved.