org.semanticdesktop.aperture.subcrawler.zip
Class ZipSubCrawler.ZipSubCrawlerEntry
java.lang.Object
org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler.ArchiveEntry
org.semanticdesktop.aperture.subcrawler.zip.ZipSubCrawler.ZipSubCrawlerEntry
- Enclosing class:
- ZipSubCrawler
protected static class ZipSubCrawler.ZipSubCrawlerEntry
- extends AbstractArchiverSubCrawler.ArchiveEntry
An ArchiveEntry encapsulating a ZipArchiveEntry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipSubCrawler.ZipSubCrawlerEntry
public ZipSubCrawler.ZipSubCrawlerEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry2)
- Constructs a ZipSubCrawlerEntry
- Parameters:
entry2 - the ZipEntry to be encapsulated
getPath
public String getPath()
- Overrides:
getPath in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- the path of the archive entry within the archive file
getComment
public String getComment()
- Overrides:
getComment in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- the archive entry comment
getCompressedSize
public long getCompressedSize()
- Overrides:
getCompressedSize in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- the compressed size of the entry
getCrc
public long getCrc()
- Overrides:
getCrc in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- the crc 32 checksum of the entry
getLastModificationTime
public long getLastModificationTime()
- Overrides:
getLastModificationTime in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- the last modification time
isDirectory
public boolean isDirectory()
- Overrides:
isDirectory in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- true if the archive entry refers to a directory
isEncrypted
public boolean isEncrypted()
- Overrides:
isEncrypted in class AbstractArchiverSubCrawler.ArchiveEntry
- Returns:
- true if the entry is encrypted
Copyright © 2010 Aperture Development Team. All Rights Reserved.