软件包 | 描述 |
---|---|
java.io |
通过数据流、序列化和文件系统提供系统的输入和输出。
|
java.lang |
提供对java编程语言的设计基础课。
|
java.nio |
定义了缓冲区,这是数据的容器,并提供其他NIO包的概述。
|
java.rmi.server |
支持RMI服务器端提供的类和接口。
|
java.time.format |
提供打印和解析日期和时间的类。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedWriter
将文本写入到字符输出流中,缓冲字符,以便提供对单个字符、数组和字符串的有效写入。
|
class |
CharArrayWriter
这个类实现了一个可以作为一个作家的字符缓冲区。
|
class |
FileWriter
用于写入字符文件的方便类。
|
class |
FilterWriter
用于写入筛选的字符流的抽象类。
|
class |
OutputStreamWriter
一个outputstreamwriter是桥从字符流的字节流:将字符串编码为字节,使用指定的
charset 。
|
class |
PipedWriter
管道字符输出流。
|
class |
PrintStream
一个
PrintStream 添加功能到另一个输出流,即打印各种数据值表示的功能。
|
class |
PrintWriter
将对象的格式化的表示形式打印到文本输出流中。
|
class |
StringWriter
一个字符流,它收集在一个字符串缓冲区的输出,然后可以用来构建一个字符串。
|
class |
Writer
用于写入到字符流的抽象类。
|
Modifier and Type | Class and Description |
---|---|
class |
StringBuffer
一个线程安全的,字符的可变序列。
|
class |
StringBuilder
一个可变的字符序列。
|
Modifier and Type | Method and Description |
---|---|
Appendable |
Appendable.append(char c)
将指定的字符这
Appendable。
|
Appendable |
Appendable.append(CharSequence csq)
将指定的字符序列,这
Appendable。
|
Appendable |
Appendable.append(CharSequence csq, int start, int end)
添加一个序列指定的字符序列,这
Appendable。
|
Modifier and Type | Class and Description |
---|---|
class |
CharBuffer
字符缓冲区。
|
Modifier and Type | Class and Description |
---|---|
class |
LogStream
过时的。
没有更换
|
Modifier and Type | Method and Description |
---|---|
void |
DateTimeFormatter.formatTo(TemporalAccessor temporal, Appendable appendable)
格式日期时间对象使用此格式化程序的
Appendable 。
|
Modifier and Type | Method and Description |
---|---|
Appendable |
Formatter.out()
返回输出的目的地。
|
Constructor and Description |
---|
Formatter(Appendable a)
构建与指定的目的地的新格式。
|
Formatter(Appendable a, Locale l)
构建与指定的目的地和现场的新格式。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.