public class ApacheZipEntry extends java.lang.Object implements ZipFileEntry
ZipFileEntry
based on standard java zip entry
ZipEntry
.
Constructor and Description |
---|
ApacheZipEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zipEntry) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Tells the name of this entry
|
long |
getSize()
Tells the size of the entry in bytes
|
long |
getTime()
Tells the entry modification time
|
boolean |
isDirectory()
Tells the this entry is directory
|
org.apache.commons.compress.archivers.zip.ZipArchiveEntry |
toZipEntry() |
public ApacheZipEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zipEntry)
public org.apache.commons.compress.archivers.zip.ZipArchiveEntry toZipEntry()
public java.lang.String getName()
ZipFileEntry
getName
in interface ZipFileEntry
ZipEntry.getName()
public boolean isDirectory()
ZipFileEntry
isDirectory
in interface ZipFileEntry
ZipEntry.isDirectory()
public long getTime()
ZipFileEntry
getTime
in interface ZipFileEntry
ZipEntry.getTime()
public long getSize()
ZipFileEntry
getSize
in interface ZipFileEntry
ZipEntry.getSize()