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

Diff of /classpath/java/io/FilterWriter.java

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

revision 1.7 by arenn, Sun Mar 9 21:54:34 2003 UTC revision 1.8 by mkoch, Sun Mar 23 10:53:30 2003 UTC
# Line 56  package java.io; Line 56  package java.io;
56    */    */
57  public abstract class FilterWriter extends Writer  public abstract class FilterWriter extends Writer
58  {  {
   /*  
    * Instance Variables  
    */  
   
59    /**    /**
60      * This is the subordinate <code>Writer</code> that this class      * This is the subordinate <code>Writer</code> that this class
61      * redirects its method calls to.      * redirects its method calls to.
62      */      */
63    protected Writer out;    protected Writer out;
64    
   /*************************************************************************/  
   
   /*  
    * Constructors  
    */  
   
65    /**    /**
66      * This method initializes an instance of <code>FilterWriter</code>      * This method initializes an instance of <code>FilterWriter</code>
67      * to write to the specified subordinate <code>Writer</code>.      * to write to the specified subordinate <code>Writer</code>.
# Line 86  public abstract class FilterWriter exten Line 76  public abstract class FilterWriter exten
76      this.out = out;      this.out = out;
77    }    }
78    
   /*************************************************************************/  
   
   /*  
    * Instance Methods  
    */  
   
79    /**    /**
80      * This method closes the underlying <code>Writer</code>.  Any      * This method closes the underlying <code>Writer</code>.  Any
81      * further attempts to write to this stream may throw an exception.      * further attempts to write to this stream may throw an exception.
# Line 103  public abstract class FilterWriter exten Line 87  public abstract class FilterWriter exten
87      out.close();      out.close();
88    }    }
89    
   /*************************************************************************/  
   
90    /**    /**
91      * This method attempt to flush all buffered output to be written to the      * This method attempt to flush all buffered output to be written to the
92      * underlying output sink.      * underlying output sink.
# Line 116  public abstract class FilterWriter exten Line 98  public abstract class FilterWriter exten
98      out.flush();      out.flush();
99    }    }
100    
   /*************************************************************************/  
   
101    /**    /**
102      * This method writes a single char of output to the underlying      * This method writes a single char of output to the underlying
103      * <code>Writer</code>.      * <code>Writer</code>.
# Line 131  public abstract class FilterWriter exten Line 111  public abstract class FilterWriter exten
111      out.write(b);      out.write(b);
112    }    }
113    
   /*************************************************************************/  
   
114    /**    /**
115      * This method writes <code>len</code> chars from the array <code>buf</code>      * This method writes <code>len</code> chars from the array <code>buf</code>
116      * starting at index <code>offset</code> to the underlying      * starting at index <code>offset</code> to the underlying
# Line 149  public abstract class FilterWriter exten Line 127  public abstract class FilterWriter exten
127      out.write(buf, offset, len);      out.write(buf, offset, len);
128    }    }
129    
   /*************************************************************************/  
   
130    /**    /**
131      * This method writes <code>len</code> chars from the <code>String</code>      * This method writes <code>len</code> chars from the <code>String</code>
132      * starting at position <code>offset</code>.      * starting at position <code>offset</code>.

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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