|
TrueZIP 6.8.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.util.zip.ZipEntry
de.schlichtherle.io.archive.zip.ZipEntry
public class ZipEntry
An adapter class to make the ZipEntry class implement the
ArchiveEntry interface.
ZipDriver| Field Summary | |
|---|---|
private ArchiveEntryMetaData |
metaData
|
static byte |
UNKNOWN
The unknown value for numeric properties. |
| Fields inherited from class de.schlichtherle.util.zip.ZipEntry |
|---|
DEFLATED, MIN_DOS_TIME, PLATFORM_FAT, PLATFORM_UNIX, STORED |
| Fields inherited from interface de.schlichtherle.io.archive.spi.ArchiveEntry |
|---|
SEPARATOR, SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
ZipEntry(String entryName)
|
|
ZipEntry(ZipEntry blueprint)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Throws an UnsupportedOperationException. |
Icon |
getClosedIcon()
Returns the icon that FileSystemView
and FileTreeCellRenderer should
display for this entry if it is closed/collapsed in the view. |
protected DateTimeConverter |
getDateTimeConverter()
Returns a DateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa. |
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. |
void |
setMetaData(ArchiveEntryMetaData metaData)
Sets the meta data for this archive entry. |
protected void |
setName(String name)
Resets the ZIP entry name. |
| Methods inherited from class de.schlichtherle.util.zip.ZipEntry |
|---|
dos2javaTime, getComment, getCompressedSize, getCrc, getDosTime, getExtra, getMethod, getName, getPlatform, getSize, getTime, isDirectory, java2dosTime, setComment, setCompressedSize, setCrc, setDosTime, setExtra, setMethod, setPlatform, setSize, setTime, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.schlichtherle.io.archive.spi.ArchiveEntry |
|---|
getName, getSize, getTime, isDirectory, setTime |
| Field Detail |
|---|
public static final byte UNKNOWN
private ArchiveEntryMetaData metaData
| Constructor Detail |
|---|
public ZipEntry(String entryName)
public ZipEntry(ZipEntry blueprint)
| Method Detail |
|---|
public Object clone()
clone in class ZipEntryUnsupportedOperationException - Cloning doesn't work with ArchiveEntryMetaData and is not
required for ArchiveDriver's anyway.protected void setName(String name)
ZipEntrycopy constructor
or the ZipEntry.clone() method.
setName in class ZipEntrypublic 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 ArchiveEntryprotected DateTimeConverter getDateTimeConverter()
ZipEntryDateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.
The implementation in the class ZipEntry returns
DateTimeConverter.JAR.
getDateTimeConverter in class ZipEntryDateTimeConverter - never null.DateTimeConverterpublic 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.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||