summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/RandomAccessFile.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-28 08:59:41 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-28 08:59:41 +0000
commit5dad1d4f53d2bf168560b537e48c9923672e222a (patch)
treecd0b4ec0e8d4c924eb78e6228f94a6fceff29411 /libjava/java/io/RandomAccessFile.java
parentcf7838f0ebe980b02902146f01e808bdd36a55b3 (diff)
downloadppe42-gcc-5dad1d4f53d2bf168560b537e48c9923672e222a.tar.gz
ppe42-gcc-5dad1d4f53d2bf168560b537e48c9923672e222a.zip
2003�03-28 Michael Koch <konqueror@gmx.de>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/RandomAccessFile.java')
-rw-r--r--libjava/java/io/RandomAccessFile.java16
1 files changed, 11 insertions, 5 deletions
diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java
index 91acb5d3d6c..21838c5f0cc 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 <tromey@cygnus.com>
- * @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
+ * <code>DataInput</code> and <code>DataOutput</code> interfaces to allow
+ * the reading and writing of Java primitives.
+ *
+ * @author Aaron M. Renn <arenn@urbanophile.com>
+ * @author Tom Tromey <tromey@cygnus.com>
+ */
public class RandomAccessFile implements DataOutput, DataInput
{
OpenPOWER on IntegriCloud