|
TrueZIP 6.8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.tar.TarEntry
de.schlichtherle.io.archive.tar.TarEntry
public class TarEntry
An entry in a TAR archive which implements the ArchiveEntry
interface.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.tar.TarEntry |
|---|
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE, MAX_NAMELEN, MILLIS_PER_SECOND |
| Fields inherited from interface de.schlichtherle.io.archive.spi.ArchiveEntry |
|---|
SEPARATOR, SEPARATOR_CHAR, UNKNOWN |
| Fields inherited from interface org.apache.tools.tar.TarConstants |
|---|
CHKSUMLEN, DEVLEN, GIDLEN, GNAMELEN, GNU_LONGLINK, GNU_TMAGIC, LF_BLK, LF_CHR, LF_CONTIG, LF_DIR, LF_FIFO, LF_GNUTYPE_LONGNAME, LF_LINK, LF_NORMAL, LF_OLDNORM, LF_SYMLINK, MAGICLEN, MAXSIZE, MODELEN, MODTIMELEN, NAMELEN, SIZELEN, TMAGIC, UIDLEN, UNAMELEN |
| Constructor Summary | |
|---|---|
TarEntry(String entryName)
|
|
TarEntry(org.apache.tools.tar.TarEntry blueprint)
|
|
TarEntry(org.apache.tools.tar.TarEntry blueprint,
File file)
|
|
| Method Summary | |
|---|---|
Icon |
getClosedIcon()
Returns the icon that FileSystemView
and FileTreeCellRenderer should
display for this entry if it is closed/collapsed in the view. |
ArchiveEntryMetaData |
getMetaData()
Returns the meta data for this archive entry. |
Icon |
getOpenIcon()
Returns the icon that FileTreeCellRenderer
should display for this entry if it is open/expanded in the view. |
long |
getTime()
Returns the last modification time of this archive entry since the epoch, or UNKNOWN if not specified. |
void |
setMetaData(ArchiveEntryMetaData metaData)
Sets the meta data for this archive entry. |
void |
setTime(long time)
Sets the last modification time of this archive entry. |
| Methods inherited from class org.apache.tools.tar.TarEntry |
|---|
equals, equals, getDirectoryEntries, getFile, getGroupId, getGroupName, getLinkName, getMode, getModTime, getName, getSize, getUserId, getUserName, hashCode, isDescendent, isDirectory, isGNULongNameEntry, parseTarHeader, setGroupId, setGroupName, setIds, setMode, setModTime, setModTime, setName, setNames, setSize, setUserId, setUserName, writeEntryHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.schlichtherle.io.archive.spi.ArchiveEntry |
|---|
getName, getSize, isDirectory |
| Constructor Detail |
|---|
public TarEntry(String entryName)
public TarEntry(org.apache.tools.tar.TarEntry blueprint)
public TarEntry(org.apache.tools.tar.TarEntry blueprint,
File file)
| Method Detail |
|---|
public long getTime()
ArchiveEntryUNKNOWN if not specified.
getTime in interface ArchiveEntryArchiveEntry.setTime(long)public void setTime(long time)
ArchiveEntry
setTime in interface ArchiveEntrytime - The last modification time of this archive entry in
milliseconds since the epoch.ArchiveEntry.getTime()public Icon getOpenIcon()
ArchiveEntryFileTreeCellRenderer
should display for this entry if it is open/expanded in the view.
If null is returned, a default icon will be used,
depending on the type of this entry and its state in the view.
getOpenIcon in interface ArchiveEntrypublic Icon getClosedIcon()
ArchiveEntryFileSystemView
and FileTreeCellRenderer should
display for this entry if it is closed/collapsed in the view.
If null is returned, a default icon will be used,
depending on the type of this entry and its state in the view.
getClosedIcon in interface ArchiveEntrypublic ArchiveEntryMetaData getMetaData()
ArchiveEntrynull.
getMetaData in interface ArchiveEntrypublic void setMetaData(ArchiveEntryMetaData metaData)
ArchiveEntry
setMetaData in interface ArchiveEntrymetaData - The meta data - may not be null.
|
TrueZIP 6.8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||