- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for getFile (0.09 sec)
-
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());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
*/ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() { done = true; return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoidRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
private static final String TOUCHFILE_NAME = "resolver-status.properties"; @Override public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) { File file = artifact.getFile(); ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases(); if (!policy.isEnabled()) { if (getLogger().isDebugEnabled()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
projectToClone.setPomFile(new File(new File(f.getParentFile(), "target"), "flattened.xml")); MavenProject clonedProject = projectToClone.clone(); assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone"); assertEquals( projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone"); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
if (dfos.isInMemory()) { return new ByteArrayInputStream(dfos.getData()); } return new BufferedInputStream(new FileInputStream(dfos.getFile())); } /** * Returns a content from a writer. * * @param out A content writer. * @param encoding An encoding. * @param normalizeText If true, normalize a text.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 30.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
if (annotation instanceof final PDAnnotationFileAttachment annotationFileAttachment) { final PDFileSpecification fileSpec = annotationFileAttachment.getFile(); if (fileSpec instanceof final PDComplexFileSpecification complexFileSpec) { final PDEmbeddedFile embeddedFile = getEmbeddedFile(complexFileSpec);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 12.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 16:35:21 UTC 2025 - 46.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
project.setArtifact(projectArtifact); // only set those on 2nd phase, ignore on 1st pass if (project.getFile() != null) { Build build = project.getBuild().getDelegate(); List<org.apache.maven.api.model.Source> sources = build.getSources(); Path baseDir = project.getBaseDirectory();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0)