Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 148 for toPath (0.05 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

            }
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        /**
         * Returns an InputStream to read the content from the cache.
         * If the content is stored in a file, a FileInputStream is returned.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            File pomFile = model.getPomFile();
            if (pomFile != null) {
                buffer.append(" (").append(pomFile).append(')');
            }
    
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
    
            if (model != null) {
                File pomFile = model.getPomFile();
    
                if (pomFile != null) {
                    path = pomFile.getAbsolutePath();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            } finally {
                if (dfos != null && !dfos.isInMemory()) {
                    final File file = dfos.getFile();
                    try {
                        Files.delete(file.toPath());
                    } catch (final IOException e) {
                        logger.warn("Failed to delete {}.", file.getAbsolutePath(), e);
                    }
                }
            }
    
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem, true)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target/test-classes/apiv4-repo").toPath())
                    .build();
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            DefaultMavenExecutionResult meres = new DefaultMavenExecutionResult();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            validateApi(body, messages -> {});
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        }
    
        protected MavenExecutionRequest createMavenExecutionRequest(File pom) throws Exception {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setRootDirectory(pom != null ? pom.toPath().getParent() : null)
                    .setPom(pom)
                    .setProjectPresent(true)
                    .setShowErrors(true)
                    .setPluginGroups(Arrays.asList("org.apache.maven.plugins"))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return result instanceof Path path
                        ? evaluator.alignToBaseDirectory(path.toFile()).toPath()
                        : result;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            );
    
        private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) {
            List<String> lines = new ArrayList<>();
            try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) {
                stream.forEach(lines::add);
            } catch (IOException ex) {
                // If a file can't be read, add an error
                addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage()));
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                throw e;
            }
        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
                if (rootProjectPom == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 23 13:49:45 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top