- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,954 for file (0.16 sec)
-
android/guava/src/com/google/common/io/Files.java
} /** * Returns a new {@link ByteSource} for reading bytes from the given file. * * @since 14.0 */ public static ByteSource asByteSource(File file) { return new FileByteSource(file); } private static final class FileByteSource extends ByteSource { private final File file; private FileByteSource(File file) {
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
} /** * Returns a new {@link ByteSource} for reading bytes from the given file. * * @since 14.0 */ public static ByteSource asByteSource(File file) { return new FileByteSource(file); } private static final class FileByteSource extends ByteSource { private final File file; private FileByteSource(File file) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
String path; File file; File resultFile; path = "hoge.html"; file = fileTransformer.createFile(path); resultFile = new File(fileTransformer.baseDir, path); assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); path = "foo1/hoge.html"; file = fileTransformer.createFile(path);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
package org.codelibs.fess.dict; import java.io.File; import org.apache.commons.io.FileUtils; import org.codelibs.core.io.FileUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.dict.mapping.CharMappingCreator; import org.codelibs.fess.unit.UnitFessTestCase; public class DictionaryManagerTest extends UnitFessTestCase { private File testDir; private File file1; @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryFileTree.java
*/ package org.gradle.api.internal.file.collections; import com.google.common.annotations.VisibleForTesting; import org.gradle.api.file.DirectoryTree; import org.gradle.api.file.FileTreeElement; import org.gradle.api.file.FileVisitDetails; import org.gradle.api.file.FileVisitor; import org.gradle.api.file.RelativePath; import org.gradle.api.file.ReproducibleFileVisitor;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 21:33:45 UTC 2024 - 6.6K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
* Creates a new source backed by the specified file. * * @param file The file, must not be {@code null}. * @deprecated Use {@link #FileSource(Path)} instead. */ @Deprecated public FileSource(File file) { this(Objects.requireNonNull(file, "file cannot be null").toPath()); } /** * Creates a new source backed by the specified file. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java
*/ package org.gradle.api.internal.file; import com.google.common.collect.ImmutableSet; import groovy.lang.Closure; import org.gradle.api.file.DirectoryTree; import org.gradle.api.file.FileCollection; import org.gradle.api.file.FileSystemLocation; import org.gradle.api.file.FileVisitDetails; import org.gradle.api.file.FileVisitor; import org.gradle.api.internal.file.collections.DirectoryFileTree;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:50 UTC 2024 - 13.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java
path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done result = file.getPath(); } else if (file.getPath().startsWith(File.separator)) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8")); final File childDir = new File(dir, "dir" + count + "-" + i); childDir.mkdirs(); generateContents(childDir, count - 1); } }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
return file; } /** * Creates a new instance that uses the given file threshold, and does not reset the data when the * {@link ByteSource} returned by {@link #asByteSource} is finalized. * * @param fileThreshold the number of bytes before the stream should switch to buffering to a file * @throws IllegalArgumentException if {@code fileThreshold} is negative */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0)