classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc cleanups to jni/java-io


From: C. Scott Ananian
Subject: [PATCH] doc cleanups to jni/java-io
Date: Tue, 6 Aug 2002 15:44:02 -0400 (EDT)

The appended patch cleans up the comemnts in native/jni/java-io:
 1) all sentences end in a period.
 2) all methods have (correct) JNI class/method/signature information.
 3) several typos/transpositions/extra spaces quashed.

No changes to code.
  --scott

Yeltsin immediate RNC direct action assassination politics blowfish 
BATF overthrow South Africa MI6 Flintlock Soviet  cracking mustard 
                         ( http://cscott.net/ )

Index: native/jni/java-io/java_io_File.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_File.c,v
retrieving revision 1.3
diff -u -p -r1.3 java_io_File.c
--- native/jni/java-io/java_io_File.c   18 Feb 2002 23:45:52 -0000      1.3
+++ native/jni/java-io/java_io_File.c   6 Aug 2002 19:23:56 -0000
@@ -56,7 +56,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Method to create an empty file
+ * Method to create an empty file.
+ *
+ * Class:     java_io_File
+ * Method:    createInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -84,7 +88,11 @@ Java_java_io_File_createInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method checks to see if we have read permission on a file
+ * This method checks to see if we have read permission on a file.
+ *
+ * Class:     java_io_File
+ * Method:    canReadInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -114,7 +122,11 @@ Java_java_io_File_canReadInternal(JNIEnv
 /*************************************************************************/
 
 /*
- * This method checks to see if we have write permission on a file
+ * This method checks to see if we have write permission on a file.
+ *
+ * Class:     java_io_File
+ * Method:    canWriteInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -144,7 +156,11 @@ Java_java_io_File_canWriteInternal(JNIEn
 /*************************************************************************/
 
 /*
- * This method makes a file read only
+ * This method makes a file read only.
+ *
+ * Class:     java_io_File
+ * Method:    setReadOnlyInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -184,7 +200,11 @@ Java_java_io_File_setReadOnlyInternal(JN
 /*************************************************************************/
 
 /*
- * This method checks to see if a file exists
+ * This method checks to see if a file exists.
+ *
+ * Class:     java_io_File
+ * Method:    existsInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -212,8 +232,12 @@ Java_java_io_File_existsInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method checks to see if a file is a "plain" file.  That is, not
+ * This method checks to see if a file is a "plain" file; that is, not
  * a directory, pipe, etc.
+ *
+ * Class:     java_io_File
+ * Method:    isFileInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -244,6 +268,10 @@ Java_java_io_File_isFileInternal(JNIEnv 
 
 /*
  * This method checks to see if a file is a directory or not.
+ *
+ * Class:     java_io_File
+ * Method:    isDirectoryInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -273,7 +301,11 @@ Java_java_io_File_isDirectoryInternal(JN
 /*************************************************************************/
 
 /*
- * This method returns the length of the file
+ * This method returns the length of the file.
+ *
+ * Class:     java_io_File
+ * Method:    lengthInternal
+ * Signature: (Ljava/lang/String;)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -301,7 +333,11 @@ Java_java_io_File_lengthInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method returns the  modification date of the file
+ * This method returns the modification date of the file.
+ *
+ * Class:     java_io_File
+ * Method:    lastModifiedInternal
+ * Signature: (Ljava/lang/String;)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -333,7 +369,11 @@ Java_java_io_File_lastModifiedInternal(J
 /*************************************************************************/
 
 /*
- * This method sets the modificatino date of the file
+ * This method sets the modification date of the file.
+ *
+ * Class:     java_io_File
+ * Method:    setLastModifiedInternal
+ * Signature: (Ljava/lang/String;J)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -375,7 +415,11 @@ Java_java_io_File_setLastModifiedInterna
 
 /*
  * This method deletes a file (actually a name for a file - additional
- * linke could exist).
+ * links could exist).
+ *
+ * Class:     java_io_File
+ * Method:    deleteInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -404,7 +448,11 @@ Java_java_io_File_deleteInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method creates a directory
+ * This method creates a directory.
+ *
+ * Class:     java_io_File
+ * Method:    mkdirInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -431,7 +479,11 @@ Java_java_io_File_mkdirInternal(JNIEnv *
 /*************************************************************************/
 
 /*
- * This method creates a directory
+ * This method renames a (link to a) file.
+ *
+ * Class:     java_io_File
+ * Method:    renameToInternal
+ * Signature: (Ljava/lang/String;Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -467,7 +519,11 @@ Java_java_io_File_renameToInternal(JNIEn
 
 /*
  * This method returns an array of String representing all the files
- * in a directory except "." and ".."
+ * in a directory except "." and "..".
+ *
+ * Class:     java_io_File
+ * Method:    listInternal
+ * Signature: (Ljava/lang/String;)[Ljava/lang/String;
  */
 
 JNIEXPORT jobjectArray JNICALL
Index: native/jni/java-io/java_io_FileDescriptor.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_FileDescriptor.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileDescriptor.c
--- native/jni/java-io/java_io_FileDescriptor.c 22 Jan 2002 22:27:02 -0000      
1.2
+++ native/jni/java-io/java_io_FileDescriptor.c 6 Aug 2002 19:23:56 -0000
@@ -51,7 +51,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Method to force all data for this descriptor to be flushed to disk 
+ * Method to force all data for this descriptor to be flushed to disk.
+ *
+ * Class:     java_io_FileDescriptor
+ * Method:    syncInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
@@ -68,6 +72,10 @@ Java_java_io_FileDescriptor_syncInternal
 
 /*
  * Method to check if a given descriptor is valid.
+ *
+ * Class:     java_io_FileDescriptor
+ * Method:    validInternal
+ * Signature: (I)Z
  */
 
 JNIEXPORT jboolean JNICALL
Index: native/jni/java-io/java_io_FileInputStream.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_FileInputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileInputStream.c
--- native/jni/java-io/java_io_FileInputStream.c        22 Jan 2002 22:27:02 
-0000      1.2
+++ native/jni/java-io/java_io_FileInputStream.c        6 Aug 2002 19:23:56 
-0000
@@ -53,6 +53,10 @@ exception statement from your version. *
 
 /*
  * Returns the length of the file being read.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    getFileLength
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -64,7 +68,11 @@ Java_java_io_FileInputStream_getFileLeng
 /*************************************************************************/
 
 /*
- * Method to skip bytes in a file
+ * Method to skip bytes in a file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    skipInternal
+ * Signature: (IJ)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -77,7 +85,11 @@ Java_java_io_FileInputStream_skipInterna
 /*************************************************************************/
 
 /*
- * Opens the file for reading
+ * Opens the file for reading.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    open
+ * Signature: (Ljava/lang/String;)I
  */
 
 JNIEXPORT jint JNICALL
@@ -89,7 +101,11 @@ Java_java_io_FileInputStream_open(JNIEnv
 /*************************************************************************/
 
 /*
- * Reads bytes from the file
+ * Reads bytes from the file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    readInternal
+ * Signature: (I[BII)I
  */ 
 
 JNIEXPORT jint JNICALL
@@ -102,7 +118,11 @@ Java_java_io_FileInputStream_readInterna
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
Index: native/jni/java-io/java_io_FileOutputStream.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_FileOutputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileOutputStream.c
--- native/jni/java-io/java_io_FileOutputStream.c       22 Jan 2002 22:27:02 
-0000      1.2
+++ native/jni/java-io/java_io_FileOutputStream.c       6 Aug 2002 19:23:56 
-0000
@@ -52,7 +52,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Opens the file for writing
+ * Opens the file for writing.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    open
+ * Signature: (Ljava/lang/String;Z)I
  */
 
 JNIEXPORT jint JNICALL
@@ -78,7 +82,11 @@ Java_java_io_FileOutputStream_open(JNIEn
 /*************************************************************************/
 
 /*
- * Write bytes to file
+ * Write bytes to file.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    writeInternal
+ * Signature: (I[BII)V
  */ 
 
 JNIEXPORT void JNICALL
@@ -91,7 +99,11 @@ Java_java_io_FileOutputStream_writeInter
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
Index: native/jni/java-io/java_io_ObjectInputStream.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_ObjectInputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_ObjectInputStream.c
--- native/jni/java-io/java_io_ObjectInputStream.c      22 Jan 2002 22:27:02 
-0000      1.2
+++ native/jni/java-io/java_io_ObjectInputStream.c      6 Aug 2002 19:23:56 
-0000
@@ -43,6 +43,11 @@ exception statement from your version. *
 #include <jcl.h>
 #include "java_io_ObjectInputStream.h"
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    currentClassLoader
+ * Signature: (Ljava/lang/SecurityManager;)Ljava/lang/ClassLoader;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectInputStream_currentClassLoader( JNIEnv * env,
                                                   jclass clazz,
@@ -61,6 +66,11 @@ Java_java_io_ObjectInputStream_currentCl
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    allocateObject
+ * Signature: (Ljava/lang/Class;)Ljava/lang/Object;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectInputStream_allocateObject( JNIEnv * env,
                                               jobject self,
@@ -70,6 +80,11 @@ Java_java_io_ObjectInputStream_allocateO
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    callConstructor
+ * Signature: (Ljava/lang/Class;Ljava/lang/Object;)V
+ */
 JNIEXPORT void JNICALL 
 Java_java_io_ObjectInputStream_callConstructor( JNIEnv * env,
                                                jclass clazz,
@@ -85,6 +100,11 @@ Java_java_io_ObjectInputStream_callConst
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    callReadMethod
+ * Signature: (Ljava/lang/Object;Ljava/lang/Class;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_callReadMethod( JNIEnv * env,
                                               jobject self,
@@ -102,6 +122,11 @@ Java_java_io_ObjectInputStream_callReadM
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setBooleanField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;Z)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setBooleanField( JNIEnv * env,
                                                 jobject self,
@@ -127,6 +152,11 @@ Java_java_io_ObjectInputStream_setBoolea
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setByteField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;B)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setByteField( JNIEnv * env,
                                              jobject self,
@@ -152,6 +182,11 @@ Java_java_io_ObjectInputStream_setByteFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setCharField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;C)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setCharField( JNIEnv * env,
                                              jobject self,
@@ -177,6 +212,11 @@ Java_java_io_ObjectInputStream_setCharFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setDoubleField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;D)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setDoubleField( JNIEnv * env,
                                                jobject self,
@@ -202,6 +242,11 @@ Java_java_io_ObjectInputStream_setDouble
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setFloatField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;F)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setFloatField( JNIEnv * env,
                                               jobject self,
@@ -227,6 +272,11 @@ Java_java_io_ObjectInputStream_setFloatF
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setIntField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;I)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setIntField( JNIEnv * env,
                                             jobject self,
@@ -252,6 +302,11 @@ Java_java_io_ObjectInputStream_setIntFie
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setLongField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;J)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setLongField( JNIEnv * env,
                                              jobject self,
@@ -277,6 +332,11 @@ Java_java_io_ObjectInputStream_setLongFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setShortField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;S)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setShortField( JNIEnv * env,
                                               jobject self,
@@ -302,6 +362,12 @@ Java_java_io_ObjectInputStream_setShortF
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setObjectField
+ * Signature: 
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/
+Object;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setObjectField( JNIEnv * env,
                                                jobject self,
Index: native/jni/java-io/java_io_ObjectOutputStream.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_ObjectOutputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_ObjectOutputStream.c
--- native/jni/java-io/java_io_ObjectOutputStream.c     22 Jan 2002 22:27:02 
-0000      1.2
+++ native/jni/java-io/java_io_ObjectOutputStream.c     6 Aug 2002 19:23:56 
-0000
@@ -52,6 +52,11 @@ exception statement from your version. *
 #endif
 #define RETHROW_EXCEPTION( env ) if((*(env))->ExceptionOccurred((env)) != 
NULL) return;
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    callWriteMethod
+ * Signature: (Ljava/lang/Object;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectOutputStream_callWriteMethod( JNIEnv * env,
                                                 jobject self,
@@ -72,6 +77,11 @@ Java_java_io_ObjectOutputStream_callWrit
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getBooleanField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)Z
+ */
 JNIEXPORT jboolean JNICALL
 Java_java_io_ObjectOutputStream_getBooleanField( JNIEnv * env,
                                                 jobject self,
@@ -98,6 +108,11 @@ Java_java_io_ObjectOutputStream_getBoole
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getByteField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)B
+ */
 JNIEXPORT jbyte JNICALL
 Java_java_io_ObjectOutputStream_getByteField( JNIEnv * env,
                                              jobject self,
@@ -124,6 +139,11 @@ Java_java_io_ObjectOutputStream_getByteF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getCharField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)C
+ */
 JNIEXPORT jchar JNICALL
 Java_java_io_ObjectOutputStream_getCharField( JNIEnv * env,
                                              jobject self,
@@ -150,6 +170,11 @@ Java_java_io_ObjectOutputStream_getCharF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getDoubleField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)D
+ */
 JNIEXPORT jdouble JNICALL
 Java_java_io_ObjectOutputStream_getDoubleField( JNIEnv * env,
                                                jobject self,
@@ -176,6 +201,11 @@ Java_java_io_ObjectOutputStream_getDoubl
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getFloatField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)F
+ */
 JNIEXPORT jfloat JNICALL
 Java_java_io_ObjectOutputStream_getFloatField( JNIEnv * env,
                                               jobject self,
@@ -202,6 +232,11 @@ Java_java_io_ObjectOutputStream_getFloat
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getIntField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)I
+ */
 JNIEXPORT jint JNICALL
 Java_java_io_ObjectOutputStream_getIntField( JNIEnv * env,
                                             jobject self,
@@ -228,6 +263,11 @@ Java_java_io_ObjectOutputStream_getIntFi
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getLongField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)J
+ */
 JNIEXPORT jlong JNICALL
 Java_java_io_ObjectOutputStream_getLongField( JNIEnv * env,
                                              jobject self,
@@ -254,6 +294,11 @@ Java_java_io_ObjectOutputStream_getLongF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getShortField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)S
+ */
 JNIEXPORT jshort JNICALL
 Java_java_io_ObjectOutputStream_getShortField( JNIEnv * env,
                                               jobject self,
@@ -280,6 +325,11 @@ Java_java_io_ObjectOutputStream_getShort
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getObjectField
+ * Signature: 
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectOutputStream_getObjectField( JNIEnv * env,
                                                jobject self,
Index: native/jni/java-io/java_io_RandomAccessFile.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-io/java_io_RandomAccessFile.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_RandomAccessFile.c
--- native/jni/java-io/java_io_RandomAccessFile.c       22 Jan 2002 22:27:02 
-0000      1.2
+++ native/jni/java-io/java_io_RandomAccessFile.c       6 Aug 2002 19:23:56 
-0000
@@ -53,6 +53,10 @@ exception statement from your version. *
 
 /*
  * Returns the length of the file being read.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    lengthInternal
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -65,6 +69,10 @@ Java_java_io_RandomAccessFile_lengthInte
 
 /*
  * Method to skip bytes in a file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    skipInternal
+ * Signature: (II)I
  */
 
 JNIEXPORT jint JNICALL
@@ -77,7 +85,11 @@ Java_java_io_RandomAccessFile_skipIntern
 /*************************************************************************/
 
 /*
- * Opens the file for reading
+ * Opens the file for reading.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    open
+ * Signature: (Ljava/lang/String;Z)I
  */
 
 JNIEXPORT jint JNICALL
@@ -93,7 +105,11 @@ Java_java_io_RandomAccessFile_open(JNIEn
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
@@ -105,7 +121,11 @@ Java_java_io_RandomAccessFile_closeInter
 /*************************************************************************/
 
 /*
- * Reads bytes from the file
+ * Reads bytes from the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    readInternal
+ * Signature: (I[BII)I
  */ 
 
 JNIEXPORT jint JNICALL
@@ -118,7 +138,11 @@ Java_java_io_RandomAccessFile_readIntern
 /*************************************************************************/
 
 /*
- * Write bytes to the file
+ * Write bytes to the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    writeInternal
+ * Signature: (I[BII)V
  */ 
 
 JNIEXPORT void JNICALL
@@ -131,7 +155,11 @@ Java_java_io_RandomAccessFile_writeInter
 /*************************************************************************/
 
 /*
- * This method returns the current position in the file
+ * This method returns the current position in the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    getFilePointerInternal
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -148,7 +176,11 @@ Java_java_io_RandomAccessFile_getFilePoi
 /*************************************************************************/
 
 /*
- * This method seeks to the specified position from the beginning of the file
+ * This method seeks to the specified position from the beginning of the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    seekInternal
+ * Signature: (IJ)V
  */
 
 JNIEXPORT void JNICALL
@@ -165,7 +197,11 @@ Java_java_io_RandomAccessFile_seekIntern
 /* 
  * This method sets the length of the file.  Hmm.  Do all platforms have
  * ftruncate?  Probably not so we migth have to do some non-atomic stuff
- * on those
+ * on those.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    setLengthInternal
+ * Signature: (IJ)V
  */
 
 JNIEXPORT void JNICALL




reply via email to

[Prev in Thread] Current Thread [Next in Thread]