public class PrintStreamSpewer extends Spewer implements Serializable
ParsingReader, and metadata, to the given PrintStream.fields, outputMetadata, tags| Constructor and Description |
|---|
PrintStreamSpewer(PrintStream stream,
FieldNames fields) |
| 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 PrintStreamSpewer(PrintStream stream, FieldNames fields)
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. All rights reserved.