public class RESTSpewer extends Spewer implements Serializable
fields, 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,
Reader reader) |
void |
writeMetadata(TikaDocument tikaDocument) |
configure, copy, copy, getFields, getOutputEncoding, outputMetadata, outputMetadata, setOutputEncoding, setTags, toString, writepublic RESTSpewer(FieldNames fields, org.apache.http.impl.client.CloseableHttpClient client, URI uri)
public void write(TikaDocument tikaDocument, Reader reader) throws IOException
write in class SpewerIOExceptionpublic void writeMetadata(TikaDocument tikaDocument) throws IOException
writeMetadata in class SpewerIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.