|
25 | 25 | /** |
26 | 26 | * Access modes and factory methods for {@link RandomAccessFile}. |
27 | 27 | * |
| 28 | + * @see RandomAccessFile#RandomAccessFile(File, String) |
| 29 | + * @see RandomAccessFile#RandomAccessFile(String, String) |
28 | 30 | * @since 2.12.0 |
29 | 31 | */ |
30 | 32 | public enum RandomAccessFileMode { |
31 | 33 |
|
32 | 34 | /** |
33 | 35 | * Mode {@code "r"} opens for reading only. |
| 36 | + * |
| 37 | + * @see RandomAccessFile#RandomAccessFile(File, String) |
| 38 | + * @see RandomAccessFile#RandomAccessFile(String, String) |
34 | 39 | */ |
35 | 40 | READ_ONLY("r"), |
36 | 41 |
|
37 | 42 | /** |
38 | 43 | * Mode {@code "rw"} opens for reading and writing. |
| 44 | + * |
| 45 | + * @see RandomAccessFile#RandomAccessFile(File, String) |
| 46 | + * @see RandomAccessFile#RandomAccessFile(String, String) |
39 | 47 | */ |
40 | 48 | READ_WRITE("rw"), |
41 | 49 |
|
42 | 50 | /** |
43 | 51 | * Mode {@code "rws"} opens for reading and writing, as with {@code "rw"}, and also require that every update to the file's content or metadata be written |
44 | 52 | * synchronously to the underlying storage device. |
| 53 | + * |
| 54 | + * @see RandomAccessFile#RandomAccessFile(File, String) |
| 55 | + * @see RandomAccessFile#RandomAccessFile(String, String) |
45 | 56 | */ |
46 | 57 | READ_WRITE_SYNC_ALL("rws"), |
47 | 58 |
|
48 | 59 | /** |
49 | 60 | * Mode {@code "rwd"} open for reading and writing, as with {@code "rw"}, and also require that every update to the file's content be written synchronously |
50 | 61 | * to the underlying storage device. |
| 62 | + * |
| 63 | + * @see RandomAccessFile#RandomAccessFile(File, String) |
| 64 | + * @see RandomAccessFile#RandomAccessFile(String, String) |
51 | 65 | */ |
52 | 66 | READ_WRITE_SYNC_CONTENT("rwd"); |
53 | 67 |
|
|
0 commit comments