/[classpath]/classpath/java/io/BufferedOutputStream.java
ViewVC logotype

Diff of /classpath/java/io/BufferedOutputStream.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by mkoch, Sun Mar 23 10:53:29 2003 UTC revision 1.11 by arenn, Mon Apr 7 20:28:01 2003 UTC
# Line 112  public class BufferedOutputStream extend Line 112  public class BufferedOutputStream extend
112    }    }
113    
114    /**    /**
    * This method flushes any remaining buffered bytes then closes the  
    * underlying output stream.  Any further attempts to write to this stream  
    * may throw an exception  
    *  
   public synchronized void close() throws IOException  
   {  
     flush();  
     out.close();  
   }  
   */  
   
   /**  
    * This method runs when the object is garbage collected.  It is  
    * responsible for ensuring that all buffered bytes are written and  
    * for closing the underlying stream.  
    *  
    * @exception IOException If an error occurs (ignored by the Java runtime)  
    *  
   protected void finalize() throws IOException  
   {  
     close();  
   }  
   */  
   
   /**  
115     * This method writes a single byte of data.  This will be written to the     * This method writes a single byte of data.  This will be written to the
116     * buffer instead of the underlying data source.  However, if the buffer     * buffer instead of the underlying data source.  However, if the buffer
117     * is filled as a result of this write request, it will be flushed to the     * is filled as a result of this write request, it will be flushed to the

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26