public class TikaIndexer extends Object implements IFileIndexer
OfficeParser
Constructor and Description |
---|
TikaIndexer() |
Modifier and Type | Method and Description |
---|---|
String |
getContentToIndex(InputStream is)
Indexes the inputStream content.
|
void |
setParser(org.apache.tika.parser.Parser parser)
Sets the parse
|
public void setParser(org.apache.tika.parser.Parser parser)
parser
- the parserpublic String getContentToIndex(InputStream is)
InputStream
is closed within this method.getContentToIndex
in interface IFileIndexer
is
- input stream.Copyright © 2017 City of Paris. All rights reserved.