软件包 | 描述 |
---|---|
java.io |
通过数据流、序列化和文件系统提供系统的输入和输出。
|
java.nio.channels |
定义了渠道,它代表的是能够执行I/O操作的实体连接,如文件和套接字;定义选择器,多路复用,非阻塞I/O操作。
|
java.sql |
提供的API来访问和处理的数据存储在数据源(通常是一个关系数据库)使用java编程语言
TM。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
javax.lang.model.util |
公用事业在帮助
program elements和
types处理。
|
javax.script |
脚本API的接口和类,定义
TM java脚本引擎提供了一种用于java应用程序框架。
|
javax.sql.rowset |
JDBC
RowSet 实现标准接口和基类。
|
javax.sql.rowset.serial |
提供实用类允许序列化映射之间的SQL类型和数据在java编程语言的类型。
|
javax.sql.rowset.spi |
三分之一方供应商在其执行同步提供程序中使用的标准类和接口。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.text.rtf |
提供了一个类(
RTFEditorKit )创建富文本格式的文本编辑器。
|
javax.tools |
为可以从程序调用的工具提供接口,例如,编译器。
|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
javax.xml.bind.helpers |
只有使用JAXB提供商:一些的
javax.xml.bind接口提供了部分的默认实现。
|
javax.xml.stream | |
javax.xml.stream.events | |
javax.xml.transform.stream |
这个包实现流和URI的具体转换的API。
|
org.w3c.dom.ls |
Modifier and Type | Class and Description |
---|---|
class |
BufferedWriter
将文本写入到字符输出流中,缓冲字符,以便提供对单个字符、数组和字符串的有效写入。
|
class |
CharArrayWriter
这个类实现了一个可以作为一个作家的字符缓冲区。
|
class |
FileWriter
用于写入字符文件的方便类。
|
class |
FilterWriter
用于写入筛选的字符流的抽象类。
|
class |
OutputStreamWriter
一个outputstreamwriter是桥从字符流的字节流:将字符串编码为字节,使用指定的
charset 。
|
class |
PipedWriter
管道字符输出流。
|
class |
PrintWriter
将对象的格式化的表示形式打印到文本输出流中。
|
class |
StringWriter
一个字符流,它收集在一个字符串缓冲区的输出,然后可以用来构建一个字符串。
|
Modifier and Type | Field and Description |
---|---|
protected Writer |
PrintWriter.out
下面这
PrintWriter 字符输出流。
|
protected Writer |
FilterWriter.out
底层字符输出流。
|
Modifier and Type | Method and Description |
---|---|
Writer |
Writer.append(char c)
将指定的字符到这个作家。
|
Writer |
Writer.append(CharSequence csq)
将指定的字符序列,这个作家。
|
Writer |
Writer.append(CharSequence csq, int start, int end)
添加一个序列指定的字符序列,这个作家。
|
Modifier and Type | Method and Description |
---|---|
void |
CharArrayWriter.writeTo(Writer out)
将缓冲区的内容写入到另一个字符流中。
|
Constructor and Description |
---|
BufferedWriter(Writer out)
创建一个使用默认大小输出缓冲区的缓冲字符输出流。
|
BufferedWriter(Writer out, int sz)
创建一个新的缓冲字符输出流,该流使用给定大小的输出缓冲区。
|
FilterWriter(Writer out)
创建一个新的筛选的作者。
|
PrintWriter(Writer out)
创建一个新的PrintWriter,无线自动冲洗。
|
PrintWriter(Writer out, boolean autoFlush)
创建一个新的PrintWriter。
|
Modifier and Type | Method and Description |
---|---|
static Writer |
Channels.newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap)
构建一个作者,使用给定的编码器对字符进行编码,并将所得的字节写入给定的信道中。
|
static Writer |
Channels.newWriter(WritableByteChannel ch, String csName)
结构,根据指定的字符集编码的字符的字节写入到给定的信道的作家。
|
Modifier and Type | Method and Description |
---|---|
Writer |
SQLXML.setCharacterStream()
检索一个流来写这个SQLXML实例表示的XML值。
|
Writer |
Clob.setCharacterStream(long pos)
检索一个流来写一个流的Unicode字符,这
Clob 对象代表
CLOB 值,在位置
pos 。
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.store(Writer writer, String comments)
写这个属性列表(关键元素对)在这
Properties 表格式来合适的输出字符流使用
load(Reader) 方法。
|
Modifier and Type | Method and Description |
---|---|
void |
Elements.printElements(Writer w, Element... elements)
将元素的表示形式打印到给定的指定顺序中的元素的表示形式。
|
Modifier and Type | Field and Description |
---|---|
protected Writer |
SimpleScriptContext.errorWriter
这是要用于从脚本输出错误的作者。
|
protected Writer |
SimpleScriptContext.writer
这是要用于从脚本输出的作者。
|
Modifier and Type | Method and Description |
---|---|
Writer |
ScriptContext.getErrorWriter()
返回用于显示错误输出的
Writer 。
|
Writer |
SimpleScriptContext.getErrorWriter()
返回用于显示错误输出的
Writer 。
|
Writer |
ScriptContext.getWriter()
返回
Writer 脚本时使用的显示输出。
|
Writer |
SimpleScriptContext.getWriter()
返回
Writer 脚本时使用的显示输出。
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptContext.setErrorWriter(Writer writer)
设置用于显示错误输出的
Writer 。
|
void |
SimpleScriptContext.setErrorWriter(Writer writer)
设置用于显示错误输出的
Writer 。
|
void |
ScriptContext.setWriter(Writer writer)
集
Writer 脚本时使用的显示输出。
|
void |
SimpleScriptContext.setWriter(Writer writer)
集
Writer 脚本时使用的显示输出。
|
Modifier and Type | Method and Description |
---|---|
void |
WebRowSet.writeXml(ResultSet rs, Writer writer)
这
WebRowSet 填充对象与给定的
ResultSet 对象的内容和写数据,性能,和元数据的XML格式的
Writer 对象。
|
void |
WebRowSet.writeXml(Writer writer)
写入数据,属性,和这
WebRowSet 对象到给定的XML格式的
Writer 对象元数据。
|
Modifier and Type | Method and Description |
---|---|
Writer |
SerialClob.setCharacterStream(long pos)
检索一个流来写一个流的Unicode字符,这
SerialClob 对象代表
CLOB 值,在位置
pos 。
|
Modifier and Type | Method and Description |
---|---|
void |
XmlWriter.writeXML(WebRowSet caller, Writer writer)
写了
WebRowSet 对象到指定的
java.io.Writer 输出流作为XML文档。
|
Modifier and Type | Method and Description |
---|---|
protected Writer |
AbstractWriter.getWriter()
返回用于输出内容的写者。
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.write(Writer out)
将该模型的内容存储到给定的流中。
|
abstract void |
EditorKit.write(Writer out, Document doc, int pos, int len)
将内容从文档以适当的格式将内容写入到给定的流中。
|
void |
DefaultEditorKit.write(Writer out, Document doc, int pos, int len)
将内容从文档写入给定流为纯文本。
|
Constructor and Description |
---|
AbstractWriter(Writer w, Document doc)
创建一个新的abstractwriter。
|
AbstractWriter(Writer w, Document doc, int pos, int len)
创建一个新的abstractwriter。
|
AbstractWriter(Writer w, Element root)
创建一个新的abstractwriter。
|
AbstractWriter(Writer w, Element root, int pos, int len)
创建一个新的abstractwriter。
|
Modifier and Type | Method and Description |
---|---|
void |
HTMLEditorKit.write(Writer out, Document doc, int pos, int len)
用适当的格式将文档中的内容写入该类内容处理程序的格式中的内容。
|
Constructor and Description |
---|
HTMLWriter(Writer w, HTMLDocument doc)
创建一个新的htmlwriter。
|
HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)
创建一个新的htmlwriter。
|
MinimalHTMLWriter(Writer w, StyledDocument doc)
创建一个新的minimalhtmlwriter。
|
MinimalHTMLWriter(Writer w, StyledDocument doc, int pos, int len)
创建一个新的minimalhtmlwriter。
|
Modifier and Type | Method and Description |
---|---|
void |
RTFEditorKit.write(Writer out, Document doc, int pos, int len)
从文档到给定流的写入内容为纯文本。
|
Modifier and Type | Method and Description |
---|---|
Writer |
FileObject.openWriter()
获取此文件对象的一个写作者。
|
Writer |
SimpleJavaFileObject.openWriter()
一个作家openoutputstream返回结果。
|
Writer |
ForwardingFileObject.openWriter() |
Modifier and Type | Method and Description |
---|---|
DocumentationTool.DocumentationTask |
DocumentationTool.getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, 类<?> docletClass, Iterable<String> options, Iterable<? extends JavaFileObject> compilationUnits)
用给定的组件和参数为文档任务创建一个未来。
|
JavaCompiler.CompilationTask |
JavaCompiler.getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits)
用给定的组件和参数创建一个编译任务的未来。
|
Modifier and Type | Method and Description |
---|---|
static void |
JAXB.marshal(Object jaxbObject, Writer xml)
写了一个java对象树的XML并将其存储到指定的位置。
|
void |
Marshaller.marshal(Object jaxbElement, Writer writer)
元帅的内容树
jaxbElement成作家。
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarshallerImpl.marshal(Object obj, Writer w) |
Modifier and Type | Method and Description |
---|---|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(Writer stream)
创建一个新的xmleventwriter写作家
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(Writer stream)
创建一个新的XMLStreamWriter写作家
|
Modifier and Type | Method and Description |
---|---|
void |
XMLEvent.writeAsEncodedUnicode(Writer writer)
该方法将写XMLEvent按XML 1规范的Unicode字符。
|
Modifier and Type | Method and Description |
---|---|
Writer |
StreamResult.getWriter()
得到的字符流,是集setwriter。
|
Modifier and Type | Method and Description |
---|---|
void |
StreamResult.setWriter(Writer writer)
设置要接收结果的写者。
|
Constructor and Description |
---|
StreamResult(Writer writer)
从字符流构建一个StreamResult。
|
Modifier and Type | Method and Description |
---|---|
Writer |
LSOutput.getCharacterStream()
一个属性的一种语言,结合依赖型,代表一个可写流到这16位单元可以输出。
|
Modifier and Type | Method and Description |
---|---|
void |
LSOutput.setCharacterStream(Writer characterStream)
一个属性的一种语言,结合依赖型,代表一个可写流到这16位单元可以输出。
|
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.