public class ExtractorGroup extends Object implements Iterable<ExtractorFactory<?>>
ExtractorFactory providing
simple accessing methods.| Constructor and Description |
|---|
ExtractorGroup(Collection<ExtractorFactory<?>> factories) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allExtractorsSupportAllContentTypes() |
ExtractorGroup |
filterByMIMEType(MIMEType mimeType)
Returns a
ExtractorGroup with a set of Extractor able to
process the provided mime type. |
int |
getNumOfExtractors() |
boolean |
isEmpty() |
Iterator<ExtractorFactory<?>> |
iterator() |
public ExtractorGroup(Collection<ExtractorFactory<?>> factories)
public boolean isEmpty()
public int getNumOfExtractors()
public ExtractorGroup filterByMIMEType(MIMEType mimeType)
ExtractorGroup with a set of Extractor able to
process the provided mime type.mimeType - to perform the selection.ExtractorGroup able to process the provided mime type.public Iterator<ExtractorFactory<?>> iterator()
iterator in interface Iterable<ExtractorFactory<?>>public boolean allExtractorsSupportAllContentTypes()
true if all the Extractor contained in the group
supports all the content types.Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.