org.semanticdesktop.aperture.hypertext.linkextractor
Interface LinkExtractorRegistry

All Known Implementing Classes:
DefaultLinkExtractorRegistry, LinkExtractorRegistryImpl

public interface LinkExtractorRegistry

A LinkExtractorRegistry keeps track of the available LinkExtractorFactories.


Method Summary
 void add(LinkExtractorFactory factory)
          Register a LinkExtractorFactory.
 Set get(String mimeType)
          Get all LinkExtractorFactories registered for the specified MIME type.
 Set getAll()
          Get all registered LinkExtractorFactories.
 void remove(LinkExtractorFactory factory)
          Remove a LinkExtractorFactory.
 

Method Detail

add

void add(LinkExtractorFactory factory)
Register a LinkExtractorFactory.


remove

void remove(LinkExtractorFactory factory)
Remove a LinkExtractorFactory.


getAll

Set getAll()
Get all registered LinkExtractorFactories.

Returns:
A Set of LinkExtractorFactories.

get

Set get(String mimeType)
Get all LinkExtractorFactories registered for the specified MIME type.

Returns:
A Set containing all LinkExtractorFactories that support the specified MIME type.


Copyright © 2010 Aperture Development Team. All Rights Reserved.