org.semanticdesktop.aperture.subcrawler.zip
Class ZipSubCrawler.ZipSubCrawlerEntry

java.lang.Object
  extended by org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler.ArchiveEntry
      extended by org.semanticdesktop.aperture.subcrawler.zip.ZipSubCrawler.ZipSubCrawlerEntry
Enclosing class:
ZipSubCrawler

protected static class ZipSubCrawler.ZipSubCrawlerEntry
extends AbstractArchiverSubCrawler.ArchiveEntry

An ArchiveEntry encapsulating a ZipArchiveEntry


Constructor Summary
ZipSubCrawler.ZipSubCrawlerEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry2)
          Constructs a ZipSubCrawlerEntry
 
Method Summary
 String getComment()
           
 long getCompressedSize()
           
 long getCrc()
           
 long getLastModificationTime()
           
 String getPath()
           
 boolean isDirectory()
           
 boolean isEncrypted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipSubCrawler.ZipSubCrawlerEntry

public ZipSubCrawler.ZipSubCrawlerEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry2)
Constructs a ZipSubCrawlerEntry

Parameters:
entry2 - the ZipEntry to be encapsulated
Method Detail

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.