public class IDFWriter extends Writer
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
protected org.slf4j.Logger |
getLog() |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(IDF idf)
Writes the IDF supplied to the underlying writer without printing progress informations to standard out.
|
void |
write(IDF idf,
boolean printStdout)
Writes the IDF supplied to the underlying writer, optionally printing progress information to standard out.
|
public IDFWriter(Writer writer)
protected org.slf4j.Logger getLog()
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void write(IDF idf) throws IOException
convert(idf, false)
idf
- the IDF to convert outIOException
- if the underlying stream could not be written topublic void write(IDF idf, boolean printStdout) throws IOException
idf
- the IDF to convert outprintStdout
- whether to print progress output to standard outIOException
- if the underlying stream could not be written toCopyright © 2014. All rights reserved.