| Package | Description |
|---|---|
| java.io | |
| java.util |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedWriter
Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
|
class |
FileWriter
Convenience class for writing character files.
|
class |
FilterWriter
Abstract class for writing filtered character streams.
|
class |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified
. |
class |
PrintWriter
Prints formatted representations of objects to a text-output stream.
|
class |
StringWriter
A character stream that collects its output in a string buffer, which can
then be used to construct a string.
|
| Modifier and Type | Field and Description |
|---|---|
protected Writer |
PrintWriter.out
The underlying character-output stream of this
PrintWriter. |
protected Writer |
FilterWriter.out
The underlying character-output stream.
|
| Modifier and Type | Method and Description |
|---|---|
Writer |
Writer.append(char c)
Appends the specified character to this writer.
|
Writer |
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
| Constructor and Description |
|---|
BufferedWriter(Writer out)
Creates a buffered character-output stream that uses a default-sized
output buffer.
|
BufferedWriter(Writer out,
int sz)
Creates a new buffered character-output stream that uses an output
buffer of the given size.
|
FilterWriter(Writer out)
Create a new filtered writer.
|
PrintWriter(Writer out)
Creates a new PrintWriter, without automatic line flushing.
|
PrintWriter(Writer out,
boolean autoFlush)
Creates a new PrintWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Properties.store(Writer writer,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a
format suitable for using the load(Reader)
method. |
Copyright © 2025 API Design. All Rights Reserved.