站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Interface java.lang.Appendable (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Interface
java.lang.Appendable

Packages that use Appendable
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Appendable in java.io
 

Classes in java.io that implement Appendable
 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 CharArrayWriter
          This class implements a character buffer that can be used as an Writer.
 class FileWriter
          Convenience class for writing character files.
 class FilterWriter
          Abstract class for writing filtered character streams.
 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 PipedWriter
          Piped character-output streams.
 class PrintStream
          A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
 class PrintWriter
          Prints formatted representations of objects to a text-output stream.
 class StringWriter
          A character stream that collects its output in a string buffer, which can then be used to construct a string.
 class Writer
          Abstract class for writing to character streams.
 

Uses of Appendable in java.lang
 

Classes in java.lang that implement Appendable
 class StringBuffer
          A thread-safe, mutable sequence of characters.
 class StringBuilder
          A mutable sequence of characters.
 

Methods in java.lang that return Appendable
 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.
 

Uses of Appendable in java.nio
 

Classes in java.nio that implement Appendable
 class CharBuffer
          A character buffer.
 

Uses of Appendable in java.rmi.server
 

Classes in java.rmi.server that implement Appendable
 class LogStream
          Deprecated. no replacement
 

Uses of Appendable in java.util
 

Methods in java.util that return Appendable
 Appendable Formatter.out()
          Returns the destination for the output.
 

Constructors in java.util with parameters of type Appendable
Formatter(Appendable a)
          Constructs a new formatter with the specified destination.
Formatter(Appendable a, Locale l)
          Constructs a new formatter with the specified destination and locale.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.