- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 99 for GetFile (0.09 sec)
-
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());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation; /** * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()} * implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
} @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsoluteFile(), source.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
mainArtifact = mainArtifact.setFile(source); request.addArtifact(mainArtifact); for (ArtifactMetadata metadata : artifact.getMetadataList()) { if (metadata instanceof ProjectArtifactMetadata) { org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom"); pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (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(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
} /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @deprecated Use {@link #getPath()} instead. */ @Deprecated public File getFile() { return path.toFile(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @since 4.0.0 */ public Path getPath() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); final File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 08 21:20:23 UTC 2023 - 1.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java
TransferResourceIdentifier(TransferResource resource) { this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0)