Searched refs:CREATE_NEW (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DStandardOpenOption.java63 * This option is ignored if the {@link #CREATE_NEW} option is also set.
76 CREATE_NEW, enum constant in enum:StandardOpenOption
103 * Sparse file. When used with the {@link #CREATE_NEW} option then this
H A DFiles.java143 * out = Files.newOutputStream(path, CREATE_NEW);
207 * <td> {@link StandardOpenOption#CREATE_NEW CREATE_NEW} </td>
218 * {@code CREATE_NEW} option is also present or the file is opened only
273 * SeekableByteChannel sbc = Files.newByteChannel(path, EnumSet.of(CREATE_NEW,READ,WRITE), perms);
293 * StandardOpenOption#CREATE_NEW CREATE_NEW} option is specified
339 * StandardOpenOption#CREATE_NEW CREATE_NEW} option is specified
585 EnumSet.<StandardOpenOption>of(StandardOpenOption.CREATE_NEW, StandardOpenOptio
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsChannelFactory.java94 case CREATE_NEW : flags.createNew = true; break;
247 dwCreationDisposition = CREATE_NEW;
275 if (dwCreationDisposition != CREATE_NEW &&
328 if (dwCreationDisposition == CREATE_NEW && flags.sparse) {
H A DWindowsConstants.java48 public static final int CREATE_NEW = 1; field in class:WindowsConstants
/openjdk7/jdk/test/java/nio/file/Files/
H A DSBC.java71 // test CREATE and CREATE_NEW options
107 // CREATE_NEW
110 Files.newByteChannel(file, CREATE_NEW, WRITE).close();
117 Files.newByteChannel(file, CREATE_NEW, WRITE);
131 Files.newByteChannel(file, CREATE_NEW, WRITE);
146 // CREATE_NEW + SPARSE
148 try (SeekableByteChannel sbc = Files.newByteChannel(file, CREATE_NEW, WRITE, SPARSE)) {
166 try (SeekableByteChannel sbc = Files.newByteChannel(file, CREATE_NEW, WRITE, APPEND)) {
194 try (SeekableByteChannel sbc = Files.newByteChannel(file, CREATE_NEW, WRITE)) {
253 try (SeekableByteChannel sbc = Files.newByteChannel(file, CREATE_NEW, REA
[all...]
/openjdk7/jdk/test/java/io/FileInputStream/
H A DLargeFileAvailable.java104 CREATE_NEW, WRITE, SPARSE)) {
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java78 case CREATE_NEW : flags.createNew = true; break;
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java662 openwrite.add(CREATE_NEW);
682 openwrite.add(CREATE_NEW);
/openjdk7/jdk/test/demo/zipfs/
H A DZipFSTester.java584 openwrite.add(CREATE_NEW);
608 openwrite.add(CREATE_NEW);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java116 try (OutputStream os = Files.newOutputStream(zfpath, CREATE_NEW, WRITE)) {
503 if (opt == CREATE_NEW)
708 if (!options.contains(StandardOpenOption.CREATE_NEW))
711 if (options.contains(StandardOpenOption.CREATE_NEW))
717 options.remove(StandardOpenOption.CREATE_NEW); // for tmpfile
H A DZipPath.java791 CREATE_NEW, WRITE);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfer.java281 StandardOpenOption.CREATE_NEW,
/openjdk7/jdk/test/tools/launcher/
H A DTestHelper.java382 Charset.defaultCharset(), CREATE_NEW);
/openjdk7/jdk/src/windows/native/java/io/
H A DWinNTFileSystem_md.c553 CREATE_NEW, /* creation disposition */

Completed in 45 milliseconds