Package | Description |
---|---|
java.io | |
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
PrintWriter |
PrintWriter.append(char c)
Appends the specified character to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.format(java.util.Locale l,
String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
PrintWriter |
PrintWriter.printf(java.util.Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintWriter |
PrintWriter.printf(String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintWriter |
Console.writer()
Retrieves the unique
PrintWriter object
associated with this console. |
Modifier and Type | Method and Description |
---|---|
void |
Throwable.printStackTrace(PrintWriter s)
Prints this throwable and its backtrace to the specified
print writer.
|