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

Diff of /classpath/java/io/InputStreamReader.java

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

revision 1.10 by mkoch, Tue May 6 09:10:19 2003 UTC revision 1.11 by mkoch, Fri May 9 13:30:35 2003 UTC
# Line 88  import gnu.java.io.decode.Decoder; Line 88  import gnu.java.io.decode.Decoder;
88   */   */
89  public class InputStreamReader extends Reader  public class InputStreamReader extends Reader
90  {  {
91    /*    /*
92     * This is the byte-character decoder class that does the reading and     * This is the byte-character decoder class that does the reading and
93     * translation of bytes from the underlying stream.     * translation of bytes from the underlying stream.
94     */     */
# Line 169  public class InputStreamReader extends R Line 169  public class InputStreamReader extends R
169    }    }
170    
171    /**    /**
172     * This method reads up to <code>len</code> characters from the stream into     * This method reads up to <code>length</code> characters from the stream into
173     * the specified array starting at index <code>offset</code> into the     * the specified array starting at index <code>offset</code> into the
174     * array.     * array.
175     *     *
176     * @param buf The character array to recieve the data read     * @param buf The character array to recieve the data read
177     * @param offset The offset into the array to start storing characters     * @param offset The offset into the array to start storing characters
178     * @param len The requested number of characters to read.     * @param length The requested number of characters to read.
179     *     *
180     * @return The actual number of characters read, or -1 if end of stream.     * @return The actual number of characters read, or -1 if end of stream.
181     *     *
182     * @exception IOException If an error occurs     * @exception IOException If an error occurs
183     */     */
184    public int read(char[] buf, int offset, int len) throws IOException    public int read (char[] buf, int offset, int length) throws IOException
185    {    {
186      return(in.read(buf, offset, len));      return in.read(buf, offset, length);
187    }    }
188    
189    /**    /**

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