public static class TextWriter.STREAM extends Object implements TextWriter
TextWriter.STDERR, TextWriter.STDOUT, TextWriter.STREAM
Constructor and Description |
---|
TextWriter.STREAM(OutputStream outputStream)
Creates a new text writer that will write to the provided output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes any buffered contents of the output stream.
|
long |
getBytesWritten()
Retrieves the number of bytes written by this writer.
|
void |
shutdown()
Releases any resources held by the writer.
|
void |
writeRecord(String record)
Writes a text record to the output stream.
|
public TextWriter.STREAM(OutputStream outputStream)
outputStream
- The output stream to whichpublic void writeRecord(String record)
TextWriter
writeRecord
in interface TextWriter
record
- - the record to write.public void flush()
TextWriter
flush
in interface TextWriter
public void shutdown()
TextWriter
shutdown
in interface TextWriter
public long getBytesWritten()
TextWriter
getBytesWritten
in interface TextWriter
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.