Appendable


Appendable java.lang

Java 5.0 appendable

Objects that implement this interface can have characters or character sequences appended to them. Appendable was added in Java 5.0 as a simple unifying API for StringBuffer and StringBuilder , java.nio.CharBuffer , and character output stream subclasses of java.io.Writer . The java.util.Formatter class can send formatted output to any Appendable object. See also Readable .

 public interface  Appendable  {  // Public Instance Methods  Appendable  append  (char  c  ) throws java.io.IOException;        Appendable  append  (CharSequence  csq  ) throws java.io.IOException;        Appendable  append  (CharSequence  csq  , int  start  , int  end  ) throws java.io.IOException;   } 

Implementations

java.io.PrintStream , java.io.Writer , java.nio.CharBuffer

Passed To

java.util.Formatter.Formatter( )

Returned By

Too many methods to list.



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net