- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 115 for getFile (0.26 seconds)
-
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
} @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile(); File file2 = cos.getFile(); assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } File getFile() { return fileThreadLocal.get(); } // acts as an override in subclasses that implement SourceSinkFactory @SuppressWarnings("EffectivelyPrivate")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
this.project = project; artifact.setFile(project.getArtifact().getFile()); artifact.setResolved(true); } /** {@inheritDoc} */ @Override public File getFile() { // we need to get the latest file for the project, not the artifact that was created at one point in time return project.getArtifact().getFile(); } /** {@inheritDoc} */ @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * Returns the file of the resource. * * @param url * The resource URL. Must not be {@literal null}. * @return The file. */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
return buf; } int getCount() { return count; } } /** Returns the file holding the data (possibly null). */ @VisibleForTesting @Nullable File getFile() { return state.getFile(); } /** * 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 garbage collected. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
reactorProject.getArtifact().getFile()); } Map<String, Artifact> map = new HashMap<>(); for (Artifact artifact : resolvedArtifacts) { /** * MNG-6300: resolvedArtifacts can be cache result; this ensures reactor files are always up-to-date * During lifecycle the Artifact.getFile() can change from target/classes to the actual jar.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/ftp-server-driver.go
_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{ DisableContentSha256: true, }) return err } // GetFile implements ftpDriver func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(n, err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
} else { File file = artifact.getFile(); log.debug(" Included {} located at {}", id, file); realm.addURL(file.toURI().toURL()); } } return CoreExtensionEntry.discoverFrom( realm, Collections.singleton(artifacts.get(0).getFile()), extension.getGroupId() + ":" + extension.getArtifactId(),Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
versionRange = null; } @Override public String getType() { return type; } @Override public void setFile(File file) { this.file = file; } @Override public File getFile() { return file; } @Override public ArtifactRepository getRepository() { return repository; } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
} } artifact.selectVersion(result.getArtifact().getVersion()); artifact.setFile(result.getArtifact().getFile()); artifact.setResolved(true); if (artifact.isSnapshot()) { Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0)