Skip to content

Commit 640f3d8

Browse files
committed
Javadoc
1 parent d12bf64 commit 640f3d8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/org/apache/commons/io/RandomAccessFileMode.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import java.util.Objects;
2424

2525
/**
26-
* Access modes and factory methods for {@link RandomAccessFile}.
26+
* Enumerates access modes for {@link RandomAccessFile} with factory methods.
2727
*
2828
* @see RandomAccessFile#RandomAccessFile(File, String)
2929
* @see RandomAccessFile#RandomAccessFile(String, String)
@@ -32,33 +32,33 @@
3232
public enum RandomAccessFileMode {
3333

3434
/**
35-
* Mode {@code "r"} opens for reading only.
35+
* Defines mode {@code "r"} to open a {@link RandomAccessFile} for reading only.
3636
*
3737
* @see RandomAccessFile#RandomAccessFile(File, String)
3838
* @see RandomAccessFile#RandomAccessFile(String, String)
3939
*/
4040
READ_ONLY("r"),
4141

4242
/**
43-
* Mode {@code "rw"} opens for reading and writing.
43+
* Defines mode {@code "rw"} to open a {@link RandomAccessFile} for reading and writing.
4444
*
4545
* @see RandomAccessFile#RandomAccessFile(File, String)
4646
* @see RandomAccessFile#RandomAccessFile(String, String)
4747
*/
4848
READ_WRITE("rw"),
4949

5050
/**
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
52-
* synchronously to the underlying storage device.
51+
* Defines mode {@code "rws"} to open a {@link RandomAccessFile} for reading and writing, as with {@code "rw"}, and also require that every update to the
52+
* file's content or metadata be written synchronously to the underlying storage device.
5353
*
5454
* @see RandomAccessFile#RandomAccessFile(File, String)
5555
* @see RandomAccessFile#RandomAccessFile(String, String)
5656
*/
5757
READ_WRITE_SYNC_ALL("rws"),
5858

5959
/**
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
61-
* to the underlying storage device.
60+
* Defines mode {@code "rwd"} to open a {@link RandomAccessFile} for reading and writing, as with {@code "rw"}, and also require that every update to the
61+
* file's content be written synchronously to the underlying storage device.
6262
*
6363
* @see RandomAccessFile#RandomAccessFile(File, String)
6464
* @see RandomAccessFile#RandomAccessFile(String, String)

0 commit comments

Comments
 (0)