@@ -147,36 +147,36 @@ public static RandomAccessFileMode valueOfMode(final String mode) {
147147 }
148148
149149 /**
150- * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument.
150+ * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument.
151151 *
152152 * @param file the file object
153- * @return a random access file stream
153+ * @return a random access file
154154 * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}.
155155 */
156156 public RandomAccessFile create (final File file ) throws FileNotFoundException {
157- return new RandomAccessFile (file , mode );
157+ return new RandomAccessFileAccessor (file , mode );
158158 }
159159
160160 /**
161- * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument.
161+ * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument.
162162 *
163163 * @param file the file object
164- * @return a random access file stream
164+ * @return a random access file
165165 * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}.
166166 */
167167 public RandomAccessFile create (final Path file ) throws FileNotFoundException {
168168 return create (Objects .requireNonNull (file .toFile (), "file" ));
169169 }
170170
171171 /**
172- * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument.
172+ * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument.
173173 *
174174 * @param file the file object
175- * @return a random access file stream
175+ * @return a random access file
176176 * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}.
177177 */
178178 public RandomAccessFile create (final String file ) throws FileNotFoundException {
179- return new RandomAccessFile (file , mode );
179+ return new RandomAccessFileAccessor (file , mode );
180180 }
181181
182182 /**
0 commit comments