Lines Matching refs:options
167 * <p> The {@code options} parameter determines how the file is opened.
169 * WRITE} options determine if the file should be opened for reading and/or
175 * options may be present:
187 * with the {@code READ} or {@code TRUNCATE_EXISTING} options. </td>
242 * <p> An implementation may also support additional options.
253 * @param options
262 * If the set contains an invalid combination of options
282 Set<? extends OpenOption> options,
287 return provider.newFileChannel(path, options, attrs);
300 * where {@code opts} is a set of the options specified in the {@code
301 * options} array.
305 * @param options
311 * If the set contains an invalid combination of options
329 public static FileChannel open(Path path, OpenOption... options)
332 Set<OpenOption> set = new HashSet<OpenOption>(options.length);
333 Collections.addAll(set, options);