aicas logoJamaica 3.2 release 62

java.lang
Interface Appendable

All Known Implementing Classes:
BufferedWriter, CharArrayWriter, CharBuffer, FileWriter, FilterWriter, OutputStreamWriter, PipedWriter, PrintWriter, StringBuffer, StringBuilder, StringWriter, Writer

public interface Appendable

Appendable is an interface for classes that provide a means to append characters.

+ @since 1.5


Method Summary
 Appendable append(char c)
          append appends a single character to this.
 Appendable append(CharSequence s)
          append appends the characters from the given sequence to this.
 Appendable append(CharSequence s, int start, int end)
          append appends a subrange of the characters from the given squence to this.
 

Method Detail

append

Appendable append(CharSequence s)
                  throws IOException
append appends the characters from the given sequence to this.

Parameters:
s - the character sequence, may be null to append the sequence "null".
Returns:
a reference to this instance.
Throws:
IOException - is an I/O error occured.

append

Appendable append(CharSequence s,
                  int start,
                  int end)
                  throws IOException
append appends a subrange of the characters from the given squence to this.

Parameters:
s - the character sequence, may be null to append the sequence "null".
start - the start position.
end - the end position.
Returns:
a reference to this instance.
Throws:
IndexOutOfBoundsException - if start<0 || end<0 || ends.length().
IOException - is an I/O error occured.

append

Appendable append(char c)
                  throws IOException
append appends a single character to this.

Parameters:
c - the character to append.
Returns:
a reference to this instance.
Throws:
IOException - is an I/O error occured.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.