org.semanticdesktop.aperture.subcrawler.tar
Class TarSubCrawler

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.tar.TarSubCrawler
All Implemented Interfaces:
SubCrawler

public class TarSubCrawler
extends AbstractArchiverSubCrawler

A SubCrawler Implementation working with tar archives.


Nested Class Summary
protected  class TarSubCrawler.TarSubCrawlerEntry
           
protected  class TarSubCrawler.TarSubCrawlerInputStream
           
 
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
TarSubCrawler()
           
 
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

TarSubCrawler

public TarSubCrawler()
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.