aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/PushbackReader.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-03-18 06:00:25 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-03-18 06:00:25 +0000
commitf4f5d1d62161cc99ecfc68495d501342aa1e61dc (patch)
tree9f83602fa5fd87c7741475487fab1b0b3a3e47ab /libjava/java/io/PushbackReader.java
parent61f1ed592c606d1d2ae272292ad4dbe37d71d78b (diff)
downloadgcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.zip
gcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.tar.gz
gcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.tar.bz2
BufferedReader.java, [...]: Merged from classpath.
2003-03-18 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/ByteArrayOutputStream.java, java/io/FileFilter.java, java/io/FilePermission.java, java/io/FileReader.java, java/io/FileWriter.java, java/io/FilenameFilter.java, java/io/FilterInputStream.java, java/io/FilterOutputStream.java, java/io/FilterReader.java, java/io/FilterWriter.java, java/io/ObjectInput.java, java/io/ObjectInputValidation.java, java/io/ObjectOutput.java, java/io/ObjectStreamField.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/PushbackReader.java, java/io/Reader.java, java/io/SerializablePermission.java, java/io/StringReader.java, java/io/Writer.java: Merged from classpath. From-SVN: r64525
Diffstat (limited to 'libjava/java/io/PushbackReader.java')
-rw-r--r--libjava/java/io/PushbackReader.java21
1 files changed, 12 insertions, 9 deletions
diff --git a/libjava/java/io/PushbackReader.java b/libjava/java/io/PushbackReader.java
index 80e949a..4a35319 100644
--- a/libjava/java/io/PushbackReader.java
+++ b/libjava/java/io/PushbackReader.java
@@ -1,5 +1,5 @@
/* PushbackReader.java -- An character stream that can unread chars
- Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000, 2001, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -48,8 +48,6 @@ package java.io;
* The default pushback buffer size one char, but this can be overridden
* by the creator of the stream.
*
- * @version 0.0
- *
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Warren Levy <warrenl@cygnus.com>
*/
@@ -136,7 +134,8 @@ public class PushbackReader extends FilterReader
* This method returns <code>false</code> to indicate that it does not support
* mark/reset functionality.
*
- * @return This method returns <code>false</code> to indicate that this class does not support mark/reset functionality
+ * @return This method returns <code>false</code> to indicate that this
+ * class does not support mark/reset functionality
*
*/
public boolean markSupported()
@@ -165,7 +164,8 @@ public class PushbackReader extends FilterReader
* read in the pushback buffer or if the underlying stream is ready to
* be read.
*
- * @return <code>true</code> if this stream is ready to be read, <code>false</code> otherwise
+ * @return <code>true</code> if this stream is ready to be read,
+ * <code>false</code> otherwise
*
* @exception IOException If an error occurs
*/
@@ -252,7 +252,8 @@ public class PushbackReader extends FilterReader
/**
* This method read chars from a stream and stores them into a caller
- * supplied buffer. It starts storing the data at index <code>offset</code> into
+ * supplied buffer. It starts storing the data at index <code>offset</code>
+ * into
* the buffer and attempts to read <code>len</code> chars. This method can
* return before reading the number of chars requested. The actual number
* of chars read is returned as an int. A -1 is returned to indicate the
@@ -302,8 +303,8 @@ public class PushbackReader extends FilterReader
* <p>
* If the pushback buffer is full, this method throws an exception.
* <p>
- * The argument to this method is an <code>int</code>. Only the low eight bits
- * of this value are pushed back.
+ * The argument to this method is an <code>int</code>. Only the low eight
+ * bits of this value are pushed back.
*
* @param b The char to be pushed back, passed as an int
*
@@ -343,7 +344,8 @@ public class PushbackReader extends FilterReader
/**
* This method pushed back chars from the passed in array into the pushback
- * buffer. The chars from <code>buf[offset]</code> to <code>buf[offset + len]</code>
+ * buffer. The chars from <code>buf[offset]</code> to
+ * <code>buf[offset + len]</code>
* are pushed in reverse order so that the next char read from the stream
* after this operation will be <code>buf[offset]</code> followed by
* <code>buf[offset + 1]</code>, etc.
@@ -378,3 +380,4 @@ public class PushbackReader extends FilterReader
}
}
}
+