diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-18 06:00:25 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-18 06:00:25 +0000 |
commit | b5802bd7cc5d653cb65493c5e28bbc5752b93d5e (patch) | |
tree | 9f83602fa5fd87c7741475487fab1b0b3a3e47ab /libjava/java/io/PipedReader.java | |
parent | 4aca39bba4209cb95f2219085d85e41a3d4e4e1c (diff) | |
download | ppe42-gcc-b5802bd7cc5d653cb65493c5e28bbc5752b93d5e.tar.gz ppe42-gcc-b5802bd7cc5d653cb65493c5e28bbc5752b93d5e.zip |
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/PipedReader.java')
-rw-r--r-- | libjava/java/io/PipedReader.java | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/libjava/java/io/PipedReader.java b/libjava/java/io/PipedReader.java index 64233a8d350..ec135427d09 100644 --- a/libjava/java/io/PipedReader.java +++ b/libjava/java/io/PipedReader.java @@ -118,7 +118,8 @@ public class PipedReader extends Reader } /** - * This method connects this stream to the passed in <code>PipedWriter</code>. + * This method connects this stream to the passed in + * <code>PipedWriter</code>. * This stream is then ready for reading. If this stream is already * connected or has been previously closed, then an exception is thrown * @@ -207,9 +208,12 @@ public class PipedReader extends Reader /** * This method reads chars from the stream into a caller supplied buffer. - * It starts storing chars at position <code>offset</code> into the buffer and - * reads a maximum of <code>len</code> chars. Note that this method can actually - * read fewer than <code>len</code> chars. The actual number of chars read is + * It starts storing chars at position <code>offset</code> into the + * buffer and + * reads a maximum of <code>len</code> chars. Note that this method + * can actually + * read fewer than <code>len</code> chars. The actual number of chars + * read is * returned. A -1 is returned to indicated that no chars can be read * because the end of the stream was reached. If the stream is already * closed, a -1 will again be returned to indicate the end of the stream. @@ -237,10 +241,11 @@ public class PipedReader extends Reader } /** - * This method reads characters from the stream into a caller supplied buffer. - * It starts storing chars at position <code>offset</code> into the buffer and - * reads a maximum of <code>len</code> chars. Note that this method can actually - * read fewer than <code>len</code> chars. The actual number of chars read is + * This method reads characters from the stream into a caller supplied + * buffer. It starts storing chars at position <code>offset</code> into + * the buffer and reads a maximum of <code>len</code> chars. Note that + * this method can actually read fewer than <code>len</code> chars. + * The actual number of chars read is * returned. A -1 is returned to indicated that no chars can be read * because the end of the stream was reached - ie close() was called on the * connected PipedWriter. @@ -361,3 +366,4 @@ public class PipedReader extends Reader } } } + |