|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.semanticdesktop.aperture.subcrawler.impl.SubCrawlerRegistryImpl
public class SubCrawlerRegistryImpl
A trivial default implementation of the SubCrawlerRegistry interface.
Constructor Summary | |
---|---|
SubCrawlerRegistryImpl()
|
Method Summary | |
---|---|
void |
add(SubCrawlerFactory factory)
Adds a SubCrawlerFactory to this registry. |
Set |
get(String mimeType)
Returns all SubCrawlerFactories that support the specified mime type. |
Set |
getAll()
Returns all SubCrawlerFactories registered in this SubCrawlerRegistry. |
Set |
getByPrefix(String prefix)
Returns all subcrawler factories that support the specified uri prefix. |
void |
remove(SubCrawlerFactory factory)
Removes a SubCrawlerFactory from this registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubCrawlerRegistryImpl()
Method Detail |
---|
public void add(SubCrawlerFactory factory)
SubCrawlerRegistry
add
in interface SubCrawlerRegistry
public void remove(SubCrawlerFactory factory)
SubCrawlerRegistry
remove
in interface SubCrawlerRegistry
public Set get(String mimeType)
SubCrawlerRegistry
get
in interface SubCrawlerRegistry
public Set getByPrefix(String prefix)
SubCrawlerRegistry
getByPrefix
in interface SubCrawlerRegistry
prefix
- the uri prefix
public Set getAll()
SubCrawlerRegistry
getAll
in interface SubCrawlerRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |