T
- the type of the Extractor
served by this factory.public abstract class SimpleExtractorFactory<T extends Extractor<?>> extends Object implements ExtractorFactory<T>
ExtractorFactory
.Modifier | Constructor and Description |
---|---|
protected |
SimpleExtractorFactory(String name,
Prefixes prefixes) |
protected |
SimpleExtractorFactory(String name,
Prefixes prefixes,
Collection<String> supportedMIMETypes,
String exampleInput) |
Modifier and Type | Method and Description |
---|---|
String |
getExampleInput() |
String |
getExtractorLabel() |
String |
getExtractorName() |
Prefixes |
getPrefixes() |
Collection<MIMEType> |
getSupportedMIMETypes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createExtractor
protected SimpleExtractorFactory(String name, Prefixes prefixes, Collection<String> supportedMIMETypes, String exampleInput)
public String getExtractorName()
getExtractorName
in interface ExtractorDescription
Extractor
public String getExtractorLabel()
getExtractorLabel
in interface ExtractorDescription
Extractor
public Prefixes getPrefixes()
getPrefixes
in interface ExtractorDescription
Prefixes
public Collection<MIMEType> getSupportedMIMETypes()
getSupportedMIMETypes
in interface ExtractorFactory<T extends Extractor<?>>
MIMEType
public String getExampleInput()
getExampleInput
in interface ExtractorFactory<T extends Extractor<?>>
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.