public interface TextWriter
Modifier and Type | Interface and Description |
---|---|
static class |
TextWriter.STDERR
A TextWriter implementation which writes to standard error.
|
static class |
TextWriter.STDOUT
A TextWriter implementation which writes to standard out.
|
static class |
TextWriter.STREAM
A TextWriter implementation which writes to a given 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.
|
void writeRecord(String record)
record
- - the record to write.void flush()
void shutdown()
long getBytesWritten()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.