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)
TextWriter
write
in interface TextWriter
text
- The text to writepublic void flush()
TextWriter
flush
in interface TextWriter
public void shutdown()
TextWriter
shutdown
in interface TextWriter
public long getBytesWritten()
TextWriter
getBytesWritten
in interface TextWriter
Copyright © 2025 Open Identity Platform Community. All rights reserved.