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

Diff of /classpath/java/io/FilterInputStream.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 69  package java.io; Line 69  package java.io;
69    */    */
70  public class FilterInputStream extends InputStream  public class FilterInputStream extends InputStream
71  {  {
   
   /*************************************************************************/  
   
   /*  
    * Instance Variables  
    */  
   
72    /**    /**
73      * This is the subordinate <code>InputStream</code> to which method calls      * This is the subordinate <code>InputStream</code> to which method calls
74      * are redirected      * are redirected
75      */      */
76    protected InputStream in;    protected InputStream in;
77    
   /*************************************************************************/  
   
   /*  
    * Constructors  
    */  
   
78    /**    /**
79      * Create a <code>FilterInputStream</code> with the specified subordinate      * Create a <code>FilterInputStream</code> with the specified subordinate
80      * <code>InputStream</code>.      * <code>InputStream</code>.
# Line 99  public class FilterInputStream extends I Line 86  public class FilterInputStream extends I
86      this.in = in;      this.in = in;
87    }    }
88    
   /*************************************************************************/  
   
   /*  
    * Instance Methods  
    */  
   
89    /**    /**
90      * Calls the <code>in.mark(int)</code> method.      * Calls the <code>in.mark(int)</code> method.
91      *      *
# Line 115  public class FilterInputStream extends I Line 96  public class FilterInputStream extends I
96      in.mark(readlimit);      in.mark(readlimit);
97    }    }
98    
   /*************************************************************************/  
   
99    /**    /**
100      * Calls the <code>in.markSupported()</code> method.      * Calls the <code>in.markSupported()</code> method.
101      *      *
# Line 128  public class FilterInputStream extends I Line 107  public class FilterInputStream extends I
107      return(in.markSupported());      return(in.markSupported());
108    }    }
109    
   /*************************************************************************/  
   
110    /**    /**
111      * Calls the <code>in.reset()</code> method.      * Calls the <code>in.reset()</code> method.
112      *      *
# Line 140  public class FilterInputStream extends I Line 117  public class FilterInputStream extends I
117      in.reset();      in.reset();
118    }    }
119    
   /*************************************************************************/  
   
120    /**    /**
121      * Calls the <code>in.available()</code> method.      * Calls the <code>in.available()</code> method.
122      *      *
# Line 154  public class FilterInputStream extends I Line 129  public class FilterInputStream extends I
129      return(in.available());      return(in.available());
130    }    }
131    
   /*************************************************************************/  
   
132    /**    /**
133      * Calls the <code>in.skip(long)</code> method      * Calls the <code>in.skip(long)</code> method
134      *      *
# Line 170  public class FilterInputStream extends I Line 143  public class FilterInputStream extends I
143      return(in.skip(num_bytes));      return(in.skip(num_bytes));
144    }    }
145    
   /*************************************************************************/  
   
146    /**    /**
147      * Calls the <code>in.read()</code> method      * Calls the <code>in.read()</code> method
148      *      *
# Line 184  public class FilterInputStream extends I Line 155  public class FilterInputStream extends I
155      return(in.read());      return(in.read());
156    }    }
157    
   /*************************************************************************/  
   
158    /**    /**
159      * Calls the <code>read(byte[], int, int)</code> overloaded method.        * Calls the <code>read(byte[], int, int)</code> overloaded method.  
160      * Note that      * Note that
# Line 204  public class FilterInputStream extends I Line 173  public class FilterInputStream extends I
173      return(read(buf, 0, buf.length));      return(read(buf, 0, buf.length));
174    }    }
175    
   /*************************************************************************/  
   
176    /**    /**
177      * Calls the <code>in.read(byte[], int, int)</code> method.      * Calls the <code>in.read(byte[], int, int)</code> method.
178      *      *
# Line 222  public class FilterInputStream extends I Line 189  public class FilterInputStream extends I
189      return(in.read(buf, offset, len));      return(in.read(buf, offset, len));
190    }    }
191    
   /*************************************************************************/  
   
192    /**    /**
193      * This method closes the input stream by closing the input stream that      * This method closes the input stream by closing the input stream that
194      * this object is filtering.  Future attempts to access this stream may      * this object is filtering.  Future attempts to access this stream may

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