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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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–2018 The Apache Software Foundation. All rights reserved.