- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for OpenOption (0.21 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/FileUtils.java
* See the contract of {@link Files#newByteChannel(Path, Set, FileAttribute[])}. */ public static boolean optionsAllowReading(OpenOption[] options) { boolean hasNonReadMode = false; for (OpenOption option : options) { if (option == StandardOpenOption.READ) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 06 01:37:44 UTC 2023 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java
import java.nio.channels.SeekableByteChannel; import java.nio.charset.Charset; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.OpenOption; import java.nio.file.Path; import java.nio.file.attribute.FileAttribute; import java.nio.file.spi.FileSystemProvider; import java.nio.file.spi.FileTypeDetector; import java.util.List; import java.util.Set;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
this.path = checkNotNull(path); this.options = options.clone(); this.followLinks = followLinks(this.options); // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong } private static boolean followLinks(OpenOption[] options) { for (OpenOption option : options) { if (option == NOFOLLOW_LINKS) { return false; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 34.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedWriter(java.nio.file.Path, Charset, * java.nio.file.OpenOption...)}. * * @param file the file to write to * @param charset the charset used to encode the output stream; see {@link StandardCharsets} for * helpful predefined constants * @return the buffered writer
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedWriter(java.nio.file.Path, Charset, * java.nio.file.OpenOption...)}. * * @param file the file to write to * @param charset the charset used to encode the output stream; see {@link StandardCharsets} for * helpful predefined constants * @return the buffered writer
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0)