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

Diff of /classpath/java/io/FilterReader.java

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

revision 1.8 by arenn, Sun Mar 9 21:54:34 2003 UTC revision 1.9 by mkoch, Sun Mar 23 10:53:30 2003 UTC
# Line 63  package java.io; Line 63  package java.io;
63    */    */
64  public abstract class FilterReader extends Reader  public abstract class FilterReader extends Reader
65  {  {
   /*  
    * Instance Variables  
    */  
   
66    /**    /**
67      * This is the subordinate <code>Reader</code> to which method calls      * This is the subordinate <code>Reader</code> to which method calls
68      * are redirected      * are redirected
69      */      */
70    protected Reader in;    protected Reader in;
71    
   /*************************************************************************/  
   
   /*  
    * Constructors  
    */  
   
72    /**    /**
73      * Create a <code>FilterReader</code> with the specified subordinate      * Create a <code>FilterReader</code> with the specified subordinate
74      * <code>Reader</code>.      * <code>Reader</code>.
# Line 93  public abstract class FilterReader exten Line 83  public abstract class FilterReader exten
83      this.in = in;      this.in = in;
84    }    }
85    
   /*************************************************************************/  
   
   /*  
    * Instance Methods  
    */  
   
86    /**    /**
87      * Calls the <code>in.mark(int)</code> method.      * Calls the <code>in.mark(int)</code> method.
88      *      *
# Line 111  public abstract class FilterReader exten Line 95  public abstract class FilterReader exten
95      in.mark(readlimit);      in.mark(readlimit);
96    }    }
97    
   /*************************************************************************/  
   
98    /**    /**
99      * Calls the <code>in.markSupported()</code> method.      * Calls the <code>in.markSupported()</code> method.
100      *      *
# Line 124  public abstract class FilterReader exten Line 106  public abstract class FilterReader exten
106      return(in.markSupported());      return(in.markSupported());
107    }    }
108    
   /*************************************************************************/  
   
109    /**    /**
110      * Calls the <code>in.reset()</code> method.      * Calls the <code>in.reset()</code> method.
111      *      *
# Line 136  public abstract class FilterReader exten Line 116  public abstract class FilterReader exten
116      in.reset();      in.reset();
117    }    }
118    
   /*************************************************************************/  
   
119    /**    /**
120      * Calls the <code>in.read()</code> method.      * Calls the <code>in.read()</code> method.
121      *      *
# Line 150  public abstract class FilterReader exten Line 128  public abstract class FilterReader exten
128      return(in.ready());      return(in.ready());
129    }    }
130    
   /*************************************************************************/  
   
131    /**    /**
132      * Calls the <code>in.skip(long)</code> method      * Calls the <code>in.skip(long)</code> method
133      *      *
# Line 166  public abstract class FilterReader exten Line 142  public abstract class FilterReader exten
142      return(in.skip(num_chars));      return(in.skip(num_chars));
143    }    }
144    
   /*************************************************************************/  
   
145    /**    /**
146      * Calls the <code>in.read()</code> method      * Calls the <code>in.read()</code> method
147      *      *
# Line 180  public abstract class FilterReader exten Line 154  public abstract class FilterReader exten
154      return(in.read());      return(in.read());
155    }    }
156    
   /*************************************************************************/  
   
157    /**    /**
158      * Calls the <code>in.read(char[], int, int)</code> method.      * Calls the <code>in.read(char[], int, int)</code> method.
159      *      *
# Line 198  public abstract class FilterReader exten Line 170  public abstract class FilterReader exten
170      return(in.read(buf, offset, len));      return(in.read(buf, offset, len));
171    }    }
172    
   /*************************************************************************/  
   
173    /**    /**
174      * This method closes the stream by calling the <code>close()</code> method      * This method closes the stream by calling the <code>close()</code> method
175      * of the underlying stream.      * of the underlying stream.

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

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