Package | Description |
---|---|
java.io |
Provides for system input and output through data streams and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, random-number generator, and miscellaneous utility
classes.
|
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(String format,
Object... args)
Writes 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.
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.list(PrintStream out)
Prints this property list out to the specified output stream.
|
Constructor and Description |
---|
Formatter(PrintStream ps)
Constructs a new formatter with the specified print stream.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.