summaryrefslogtreecommitdiff
path: root/libjava/java/io/PushbackReader.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 06:00:25 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 06:00:25 +0000
commitb5802bd7cc5d653cb65493c5e28bbc5752b93d5e (patch)
tree9f83602fa5fd87c7741475487fab1b0b3a3e47ab /libjava/java/io/PushbackReader.java
parent4aca39bba4209cb95f2219085d85e41a3d4e4e1c (diff)
downloadgcc-b5802bd7cc5d653cb65493c5e28bbc5752b93d5e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64525 138bc75d-0d04-0410-961f-82ee72b054a4
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 80e949a170a..4a353190d81 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
}
}
}
+