public interface ExtractorRegistry
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllNames()
Returns the names of all registered extractors, sorted alphabetically.
|
ExtractorGroup |
getExtractorGroup() |
ExtractorGroup |
getExtractorGroup(List<String> names)
Returns an
ExtractorGroup containing the ExtractorFactory
mathing the names provided as input. |
ExtractorFactory<?> |
getFactory(String name)
Retrieves a
ExtractorFactory given its name |
boolean |
isRegisteredName(String name) |
void |
register(ExtractorFactory<?> factory)
Registers an
ExtractorFactory. |
void |
unregister(String name) |
void register(ExtractorFactory<?> factory)
ExtractorFactory.factory - IllegalArgumentException - if trying to register a ExtractorFactory that already
exists in the registry.ExtractorFactory<?> getFactory(String name)
ExtractorFactory given its namename - The name of the desired factoryExtractorFactory associated to the provided nameIllegalArgumentException - If there is not an ExtractorFactory associated to the
provided name.ExtractorGroup getExtractorGroup()
ExtractorGroup with all the registered
Extractor.ExtractorGroup getExtractorGroup(List<String> names)
ExtractorGroup containing the ExtractorFactory
mathing the names provided as input.names - A List containing the names of the desired
ExtractorFactory.boolean isRegisteredName(String name)
name - The name of the ExtractorFactorytrue if is there a ExtractorFactory
associated to the provided name.List<String> getAllNames()
void unregister(String name)
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.