Searched defs:TRUNCATE_EXISTING (Results 1 – 5 of 5) sorted by relevance
73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion()83 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in unknownFormat()
102 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion()
32 TRUNCATE_EXISTING, // Open/truncate existing file. Fail if doesn't exist. enumerator
73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in create()
918 try (FileChannel channel = FileChannel.open(path("/test"), READ, TRUNCATE_EXISTING)) { in testOpenFile_withReadAndTruncateExisting_doesNotTruncateFile() argument1439 try (OutputStream out = Files.newOutputStream(path, CREATE, TRUNCATE_EXISTING)) { in testOutputStream_withTruncateExistingAndNotWrite_truncatesFile() argument