org.semanticdesktop.aperture.subcrawler
Interface SubCrawlerFactory

All Known Implementing Classes:
BZip2SubCrawlerFactory, CompressSubCrawlerFactory, GZipSubCrawlerFactory, IcalCrawlerFactory, MboxSubCrawlerFactory, MimeSubCrawlerFactory, TarSubCrawlerFactory, VcardSubCrawlerFactory, ZipSubCrawlerFactory

public interface SubCrawlerFactory

SubCrawlerFactories create SubCrawlers capable of crawling FileDataObjects of specific mime types.


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.
 

Method Detail

getSupportedMimeTypes

Set getSupportedMimeTypes()
Returns a set of Strings indicating the MIME types that are supported by the SubCrawler implementation provided by this SubCrawlerFactory.

Returns:
A Set of mime type strings

get

SubCrawler get()
Return a SubCrawler instance.

Returns:
A SubCrawler instance.

getUriPrefix

String getUriPrefix()
Returns the prefix used to construct uris. See the documentation of the SubCrawler class for more details.

Returns:
the prefix used to construct uris


Copyright © 2010 Aperture Development Team. All Rights Reserved.