- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 113 for Metafile (0.09 sec)
-
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) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return project.getFile(); } // Get the matching artifact from the project Artifact projectArtifact = findMatchingArtifact(project, artifact); if (projectArtifact != null) { // If the artifact has been associated to a file, use it File packagedArtifactFile = projectArtifact.getFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
return metadata; } public void bind(Artifact artifact) { artifacts.add(artifact); } @Deprecated @Override public MavenMetadata setFile(File file) { return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * リソースのファイルを返します。 * * @param url * リソースのURL。{@literal null}であってはいけません * @return ファイル */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
super(metadata, path, timestamp); this.buildNumber = buildNumber; } @Deprecated @Override public MavenMetadata setFile(File file) { return new RemoteSnapshotMetadata(metadata, file.toPath(), timestamp, buildNumber); } @Override public MavenMetadata setPath(Path path) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K 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) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
dependency.getClassifier(), new TestArtifactHandler(dependency.getType())); if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) { artifact.setFile(new File(dependency.getSystemPath())); artifact.setResolved(true); } return artifact; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K 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/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
if ("maven-test".equals(artifact.getGroupId())) { String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.dir + "transitive-" + scope + "-dep.xml")); result.setArtifact(artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0)