org.semanticdesktop.aperture.subcrawler.base
Class AbstractArchiverSubCrawler.ArchiveEntry

java.lang.Object
  extended by org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler.ArchiveEntry
Direct Known Subclasses:
TarSubCrawler.TarSubCrawlerEntry, ZipSubCrawler.ZipSubCrawlerEntry, ZipSubCrawler.ZipSubCrawlerJuzEntry
Enclosing class:
AbstractArchiverSubCrawler

protected abstract static class AbstractArchiverSubCrawler.ArchiveEntry
extends Object

Encapsulates an archive entry


Constructor Summary
protected AbstractArchiverSubCrawler.ArchiveEntry()
           
 
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

AbstractArchiverSubCrawler.ArchiveEntry

protected AbstractArchiverSubCrawler.ArchiveEntry()
Method Detail

getComment

public String getComment()
Returns:
the archive entry comment

getCompressedSize

public long getCompressedSize()
Returns:
the compressed size of the entry

getCrc

public long getCrc()
Returns:
the crc 32 checksum of the entry

getLastModificationTime

public long getLastModificationTime()
Returns:
the last modification time

getPath

public String getPath()
Returns:
the path of the archive entry within the archive file

isDirectory

public boolean isDirectory()
Returns:
true if the archive entry refers to a directory

isEncrypted

public boolean isEncrypted()
Returns:
true if the entry is encrypted


Copyright © 2010 Aperture Development Team. All Rights Reserved.