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 | 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 |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified
charset . |
class |
PrintStream
A
PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently. |
class |
Writer
Abstract class for writing to character streams.
|
Modifier and Type | Class and Description |
---|---|
class |
StringBuffer
A thread-safe, mutable sequence of characters.
|
class |
StringBuilder
A mutable sequence of characters.
|
Modifier and Type | Method and Description |
---|---|
Appendable |
Appendable.append(char c)
Appends the specified character to this Appendable.
|
Appendable |
Appendable.append(CharSequence csq)
Appends the specified character sequence to this Appendable.
|
Appendable |
Appendable.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this
Appendable.
|
Modifier and Type | Method and Description |
---|---|
Appendable |
Formatter.out()
Returns the destination for the output.
|
Constructor and Description |
---|
Formatter(Appendable a)
Constructs a new formatter with the specified destination.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.