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 |
---|---|
PrintStream |
PrintStream.append(char c)
Appends the specified character to this output stream.
|
PrintStream |
PrintStream.append(CharSequence csq)
Appends the specified character sequence to this output stream.
|
PrintStream |
PrintStream.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this output
stream.
|
PrintStream |
PrintStream.format(java.util.Locale l,
String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
PrintStream |
PrintStream.format(String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
PrintStream |
PrintStream.printf(java.util.Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
PrintStream |
PrintStream.printf(String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
Modifier and Type | Field and Description |
---|---|
static PrintStream |
System.err
The "standard" error output stream.
|
static PrintStream |
System.out
The "standard" output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Throwable.printStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
|
static void |
System.setErr(PrintStream err)
Reassigns the "standard" error output stream.
|
static void |
System.setOut(PrintStream out)
Reassigns the "standard" output stream.
|