27 |
|
|
28 |
package java.io; |
package java.io; |
29 |
|
|
30 |
|
import gnu.classpath.Configuration; |
31 |
|
|
32 |
/** |
/** |
33 |
* This class allows reading and writing of files at random locations. |
* This class allows reading and writing of files at random locations. |
34 |
* Most Java I/O classes are either pure sequential input or output. This |
* Most Java I/O classes are either pure sequential input or output. This |
44 |
public class RandomAccessFile implements DataOutput, DataInput |
public class RandomAccessFile implements DataOutput, DataInput |
45 |
{ |
{ |
46 |
|
|
47 |
static |
static |
48 |
{ |
{ |
49 |
System.loadLibrary("javaio"); |
if (Configuration.INIT_LOAD_LIBRARY) |
50 |
} |
{ |
51 |
|
System.loadLibrary ("javaio"); |
52 |
|
} |
53 |
|
} |
54 |
|
|
55 |
/*************************************************************************/ |
/*************************************************************************/ |
56 |
|
|