- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for MoreFiles (0.09 sec)
-
android/guava/src/com/google/common/io/MoreFiles.java
@J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file @ElementTypesAreNonnullByDefault @IgnoreJRERequirement // Users will use this only if they're already using Path. public final class MoreFiles { private MoreFiles() {} /** * Returns a view of the given {@code path} as a {@link ByteSource}. * * <p>Any {@linkplain OpenOption open options} provided are used when opening streams to the file
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
* @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file @ElementTypesAreNonnullByDefault public final class MoreFiles { private MoreFiles() {} /** * Returns a view of the given {@code path} as a {@link ByteSource}. * * <p>Any {@linkplain OpenOption open options} provided are used when opening streams to the file
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("gz", MoreFiles.getFileExtension(FS.getPath("blah.tar.gz"))); assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("...")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("gz", MoreFiles.getFileExtension(FS.getPath("blah.tar.gz"))); assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("...")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
} public void testFileTraverser_emptyDirectory() throws Exception { assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); } public void testFileTraverser_nonExistingFile() throws Exception { Path file = rootDir.resolve("file-that-doesnt-exist"); assertThat(MoreFiles.fileTraverser().breadthFirst(file)).containsExactly(file); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 09 19:30:52 UTC 2018 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
Path file = createFile(); if (initialBytes != null) { java.nio.file.Files.write(file, initialBytes); return MoreFiles.asByteSink(file, StandardOpenOption.APPEND); } return MoreFiles.asByteSink(file); } @Override public byte[] getExpected(byte[] bytes) { if (initialBytes == null) { return checkNotNull(bytes);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/RecursiveDeleteOption.java
import com.google.j2objc.annotations.J2ObjCIncompatible; import java.nio.file.SecureDirectoryStream; /** * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link * MoreFiles#deleteDirectoryContents}). * * @since NEXT (but since 21.0 in the JRE flavor) * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/io/RecursiveDeleteOption.java
import com.google.j2objc.annotations.J2ObjCIncompatible; import java.nio.file.SecureDirectoryStream; /** * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link * MoreFiles#deleteDirectoryContents}). * * @since 21.0 (but only since 33.4.0 in the Android flavor) * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java
* @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file @ElementTypesAreNonnullByDefault // Users are unlikely to use this unless they're already interacting with MoreFiles and Path. @IgnoreJRERequirement public final class InsecureRecursiveDeleteException extends FileSystemException { public InsecureRecursiveDeleteException(@CheckForNull String file) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Provides utility methods for working with {@linkplain File files}. * * <p>{@link java.nio.file.Path} users will find similar utilities in {@link MoreFiles} and the * JDK's {@link java.nio.file.Files} class. * * @author Chris Nokleberg * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0)