org.semanticdesktop.aperture.subcrawler.zip
Class ZipSubCrawlerFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.subcrawler.zip.ZipSubCrawlerFactory
All Implemented Interfaces:
SubCrawlerFactory

public class ZipSubCrawlerFactory
extends Object
implements SubCrawlerFactory

A factory for ZipSubCrawler instances


Field Summary
static String ZIP_URI_PREFIX
          Prefix used for uris of entries inside zip archives
 
Constructor Summary
ZipSubCrawlerFactory()
           
 
Method Summary
 SubCrawler get()
          Return a SubCrawler instance.
 Set getSupportedMimeTypes()
          Returns a set of Strings indicating the MIME types that are supported by the SubCrawler implementation provided by this SubCrawlerFactory.
 String getUriPrefix()
          Returns the prefix used to construct uris.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZIP_URI_PREFIX

public static final String ZIP_URI_PREFIX
Prefix used for uris of entries inside zip archives

See Also:
Constant Field Values
Constructor Detail

ZipSubCrawlerFactory

public ZipSubCrawlerFactory()
Method Detail

get

public SubCrawler get()
Description copied from interface: SubCrawlerFactory
Return a SubCrawler instance.

Specified by:
get in interface SubCrawlerFactory
Returns:
A SubCrawler instance.

getSupportedMimeTypes

public Set getSupportedMimeTypes()
Description copied from interface: SubCrawlerFactory
Returns a set of Strings indicating the MIME types that are supported by the SubCrawler implementation provided by this SubCrawlerFactory.

Specified by:
getSupportedMimeTypes in interface SubCrawlerFactory
Returns:
A Set of mime type strings

getUriPrefix

public String getUriPrefix()
Description copied from interface: SubCrawlerFactory
Returns the prefix used to construct uris. See the documentation of the SubCrawler class for more details.

Specified by:
getUriPrefix in interface SubCrawlerFactory
Returns:
the prefix used to construct uris


Copyright © 2010 Aperture Development Team. All Rights Reserved.