org.semanticdesktop.aperture.subcrawler.zip
Class ZipSubCrawler

java.lang.Object
  extended by org.semanticdesktop.aperture.subcrawler.base.AbstractSubCrawler
      extended by org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler
          extended by org.semanticdesktop.aperture.subcrawler.zip.ZipSubCrawler
All Implemented Interfaces:
SubCrawler

public class ZipSubCrawler
extends AbstractArchiverSubCrawler

A SubCrawler Implementation working with ZIP archives.


Nested Class Summary
protected static class ZipSubCrawler.ZipSubCrawlerEntry
          An ArchiveEntry encapsulating a ZipArchiveEntry
protected static class ZipSubCrawler.ZipSubCrawlerInputStream
          An ArchiveInputStream encapsulating a stream of ZIP-ped data
protected static class ZipSubCrawler.ZipSubCrawlerJuzEntry
          An ArchiveEntry encapsulating a ZipEntry
 
Nested classes/interfaces inherited from class org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler
AbstractArchiverSubCrawler.ArchiveEntry, AbstractArchiverSubCrawler.ArchiveInputStream
 
Field Summary
 
Fields inherited from class org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler
MAX_ZIP_BOMB_REPEAT_COUNT
 
Constructor Summary
ZipSubCrawler()
           
 
Method Summary
protected  AbstractArchiverSubCrawler.ArchiveInputStream getArchiveInputStream(InputStream in)
           
 String getUriPrefix()
          Returns the prefix used when generating uris.
 
Methods inherited from class org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler
getDataObject, stopSubCrawler, subCrawl
 
Methods inherited from class org.semanticdesktop.aperture.subcrawler.base.AbstractSubCrawler
createChildUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipSubCrawler

public ZipSubCrawler()
Method Detail

getArchiveInputStream

protected AbstractArchiverSubCrawler.ArchiveInputStream getArchiveInputStream(InputStream in)
Specified by:
getArchiveInputStream in class AbstractArchiverSubCrawler
Parameters:
in - the stream with the compressed archive data
Returns:
and ArchiveInputStream encapsulating the given compressed stream

getUriPrefix

public String getUriPrefix()
Description copied from class: AbstractSubCrawler
Returns the prefix used when generating uris. See the documentation for SubCrawler class for more details.

Specified by:
getUriPrefix in class AbstractSubCrawler
Returns:
the prefix used when generating uris.


Copyright © 2010 Aperture Development Team. All Rights Reserved.