Searched refs:TRUNCATE_EXISTING (Results 1 - 10 of 10) sorted by relevance
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | StandardOpenOption.java | 59 TRUNCATE_EXISTING, enum constant in enum:StandardOpenOption
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | InterruptDeadlock.java | 87 try (FileChannel fc = FileChannel.open(file, CREATE, TRUNCATE_EXISTING, WRITE)) {
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsConstants.java | 52 public static final int TRUNCATE_EXISTING = 5; field in class:WindowsConstants
|
H A D | WindowsChannelFactory.java | 92 case TRUNCATE_EXISTING : flags.truncateExisting = true; break; 157 throw new IllegalArgumentException("APPEND + TRUNCATE_EXISTING not allowed"); 255 // corresponds to CREATE + TRUNCATE_EXISTING so we use 260 dwCreationDisposition = TRUNCATE_EXISTING; 317 // truncate file (for CREATE + TRUNCATE_EXISTING case)
|
H A D | WindowsUserDefinedFileAttributeView.java | 306 opts.add(StandardOpenOption.TRUNCATE_EXISTING);
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | SBC.java | 190 // test TRUNCATE_EXISTING option 200 try (SeekableByteChannel sbc = Files.newByteChannel(file, WRITE, TRUNCATE_EXISTING)) { 211 try (SeekableByteChannel sbc = Files.newByteChannel(file, WRITE, CREATE, TRUNCATE_EXISTING)) { 358 Files.newByteChannel(file, WRITE, APPEND, TRUNCATE_EXISTING);
|
/openjdk7/jdk/src/share/classes/java/nio/file/spi/ |
H A D | FileSystemProvider.java | 421 opts.add(StandardOpenOption.TRUNCATE_EXISTING);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixChannelFactory.java | 76 case TRUNCATE_EXISTING : flags.truncateExisting = true; break; 134 throw new IllegalArgumentException("APPEND + TRUNCATE_EXISTING not allowed");
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Basic.java | 383 .open(file, WRITE, TRUNCATE_EXISTING); 491 .open(file, CREATE, WRITE, TRUNCATE_EXISTING);
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | TestHelper.java | 345 Charset.defaultCharset(), CREATE, TRUNCATE_EXISTING, WRITE);
|
Completed in 41 milliseconds