- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,710 for File (0.15 sec)
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = new File(rootDir, "file-that-doesnt-exist"); assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); } public void testFileTraverser_file() throws Exception { File file = newFile("some-file"); assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 20:17:27 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
+ "[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"; private File testDir; private File tempDir; private final Set<File> filesToDelete = Sets.newHashSet(); @Override protected void tearDown() { for (File file : filesToDelete) { if (file.exists()) { delete(file); } } filesToDelete.clear(); } private File getTestDir() throws IOException { if (testDir != null) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
updateCheckManager.touch(metadata, repository, file); } } // TODO should this be inside the above check? // touch file so that this is not checked again until interval has passed if (file.exists()) { file.setLastModified(System.currentTimeMillis()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 18.9K 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. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 26 17:04:44 GMT 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); protected File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } protected File getFile() { return fileThreadLocal.get(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
private final File file; public ProjectArtifactMetadata(Artifact artifact) { this(artifact, null); } public ProjectArtifactMetadata(Artifact artifact, File file) { super(artifact); this.file = file; } public File getFile() { return file; } public String getRemoteFilename() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; import static org.junit.Assert.assertThrows; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.nio.file.attribute.PosixFileAttributeView; import java.nio.file.attribute.PosixFileAttributes; import java.util.Arrays; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
} properties = new Properties(); store(); } else if (!this.propertiesFile.isFile()) { throw new FileAccessException("ECL0111", new Object[] { file.getAbsolutePath() }); } load(); } public synchronized void reload(final String path) { final File file = new File(path);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
return file.length(); } public void setLength( long newLength ) throws SmbException { // ensure file is open if( file.isOpen() == false ) { file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options ); } SmbComWriteResponse rsp = new SmbComWriteResponse(); file.send( new SmbComWrite( file.fid, (int)(newLength & 0xFFFFFFFFL), 0, tmp, 0, 0 ), rsp );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3K bytes - Viewed (0)