public interface TextWriter
Modifier and Type | Interface and Description |
---|---|
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 |
write(String text)
Writes some text to the output stream.
|
void write(String text) throws IOException
text
- The text to writeIOException
- If a problem occurs.void flush() throws IOException
IOException
- If a problem occurs.void shutdown()
long getBytesWritten()
Copyright © 2025 Open Identity Platform Community. All rights reserved.