From c54390c5a14d2c67e803a644bbf28ea6e5ab5af5 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 28 Mar 2003 08:59:41 +0000 Subject: =?UTF-8?q?2003=EF=BF=BD03-28=20=20Michael=20Koch=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * java/io/FileOutputStream.java: Merged class documentation and authors with classpath. (FileOutputStream): Partly merged with classpath. (write): Merged with classpath. (getChannel): Make it synchronized instead of explicit block in this method. * java/io/RandomAccessFile.java: Merged class documentation and authors with classpath. From-SVN: r64963 --- libjava/java/io/RandomAccessFile.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'libjava/java/io/RandomAccessFile.java') diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java index 91acb5d..21838c5 100644 --- a/libjava/java/io/RandomAccessFile.java +++ b/libjava/java/io/RandomAccessFile.java @@ -41,16 +41,22 @@ package java.io; import java.nio.channels.FileChannel; import gnu.java.nio.FileChannelImpl; -/** - * @author Tom Tromey - * @date September 25, 1998 - */ - /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 * "The Java Language Specification", ISBN 0-201-63451-1 * Status: Believe complete and correct to 1.1. */ +/** + * This class allows reading and writing of files at random locations. + * Most Java I/O classes are either pure sequential input or output. This + * class fulfills the need to be able to read the bytes of a file in an + * arbitrary order. In addition, this class implements the + * DataInput and DataOutput interfaces to allow + * the reading and writing of Java primitives. + * + * @author Aaron M. Renn + * @author Tom Tromey + */ public class RandomAccessFile implements DataOutput, DataInput { -- cgit v1.1