Writer

                               
    java.lang.Object                          
     |                         
     |--java.io.Writer                      
         |                     
         |--BufferedWriter                  
         |                     
         |--CharArrayWriter                  
         |                     
         |--FilterWriter                  
         |                     
         |--OutputStreamWriter                  
         |                     
         |--PipedWriter                  
         |                     
         |--PrintWriter                  
         |                     
         |--StringWriter                  
                               

Abstract class for writing to character streams.

ReturnMethodSummary
Writerappend(char c)Appends the specified character to this writer.
Writerappend(CharSequence csq)Appends the specified character sequence to this writer.
Writerappend(CharSequence csq, int start, int end)Appends a subsequence of the specified character sequence to this writer.
abstract voidclose()Closes the stream, flushing it first.
abstract voidflush()Flushes the stream.
voidwrite(char[] cbuf)Writes an array of characters.
abstract voidwrite(char[] cbuf, int off, int len)Writes a portion of an array of characters.
voidwrite(int c)Writes a single character.
voidwrite(String str)Writes a string.
voidwrite(String str, int off, int len)Writes a portion of a string.
Revised from Open JDK source code
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.