Searched refs:CREATE_NEW (Results 1 - 14 of 14) sorted by relevance
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | StandardOpenOption.java | 63 * 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 D | Files.java | 143 * 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 D | WindowsChannelFactory.java | 94 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 D | WindowsConstants.java | 48 public static final int CREATE_NEW = 1; field in class:WindowsConstants
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | SBC.java | 71 // 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 D | LargeFileAvailable.java | 104 CREATE_NEW, WRITE, SPARSE)) {
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixChannelFactory.java | 78 case CREATE_NEW : flags.createNew = true; break;
|
/openjdk7/jdk/src/share/demo/nio/zipfs/ |
H A D | Demo.java | 662 openwrite.add(CREATE_NEW); 682 openwrite.add(CREATE_NEW);
|
/openjdk7/jdk/test/demo/zipfs/ |
H A D | ZipFSTester.java | 584 openwrite.add(CREATE_NEW); 608 openwrite.add(CREATE_NEW);
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystem.java | 116 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 D | ZipPath.java | 791 CREATE_NEW, WRITE);
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfer.java | 281 StandardOpenOption.CREATE_NEW,
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | TestHelper.java | 382 Charset.defaultCharset(), CREATE_NEW);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | WinNTFileSystem_md.c | 553 CREATE_NEW, /* creation disposition */
|
Completed in 67 milliseconds