public static class TextWriter.Stream extends Object implements TextWriter
TextWriter.Stream| Constructor and Description |
|---|
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 |
write(String text)
Writes some text to the output stream.
|
public Stream(OutputStream outputStream)
outputStream - The output stream to whichpublic void write(String text)
TextWriterwrite in interface TextWritertext - The text to writepublic void flush()
TextWriterflush in interface TextWriterpublic void shutdown()
TextWritershutdown in interface TextWriterpublic long getBytesWritten()
TextWritergetBytesWritten in interface TextWriterCopyright © 2025 Open Identity Platform Community. All rights reserved.