public interface DocumentExtractor extends Closeable
getFirstIndex()
and getMaxIndex()
define the boundaries available to extract(int)
.
DocumentExtractor objects *must* be closed when the results are no longer traversed. See close()
Modifier and Type | Method and Description |
---|---|
void |
close() |
EntityInfo |
extract(int index) |
int |
getFirstIndex() |
int |
getMaxIndex() |
TopDocs |
getTopDocs() |
EntityInfo extract(int index) throws IOException
IOException
int getFirstIndex()
int getMaxIndex()
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved