public class RESTSpewer extends Spewer implements Serializable
Spewer.MapValueConsumer, Spewer.MapValuesConsumerfields, outputMetadata, tags| Constructor and Description |
|---|
RESTSpewer(FieldNames fields,
org.apache.http.impl.client.CloseableHttpClient client,
URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(TikaDocument tikaDocument) |
protected void |
writeDocument(TikaDocument doc,
TikaDocument parent,
TikaDocument root,
int level) |
void |
writeMetadata(TikaDocument tikaDocument) |
configure, copy, copy, getFields, getMetadata, getOutputEncoding, outputMetadata, outputMetadata, setOutputEncoding, setTags, toString, writepublic RESTSpewer(FieldNames fields, org.apache.http.impl.client.CloseableHttpClient client, URI uri)
public void write(TikaDocument tikaDocument) throws IOException
write in class SpewerIOExceptionpublic void writeMetadata(TikaDocument tikaDocument) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in class SpewerIOExceptionprotected void writeDocument(TikaDocument doc, TikaDocument parent, TikaDocument root, int level)
writeDocument in class SpewerCopyright © 2019 The International Consortium of Investigative Journalists. All rights reserved.