Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 105 for getAbsolutePath (0.27 seconds)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "test.property=value".getBytes());
    
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.propertiesPath = propFile.getAbsolutePath();
    
            // Verify the properties path is set
            assertEquals(propFile.getAbsolutePath(), options.propertiesPath);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
            } else if (userToolchainsFile != null) {
                logger.debug("Toolchains configuration was not found at {}", userToolchainsFile);
            }
    
            return toolchains;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

                throw new GradleException("Check failed. License header problems were found. Full details: " + reportFile.getAbsolutePath());
            }
        }
    
        private IHeaderMatcher subStringMatcher(String licenseFamilyCategory, String licenseFamilyName, String substringPattern) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        CopyUtil.copy(is, os);
                    } catch (final Exception e) {
                        if (tempFile.exists() && !tempFile.delete()) {
                            logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                        }
                        logger.debug("Failed to copy {}", filename, e);
                        throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, filename), this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

        }
    
        @Test
        void testWindowsPaths() throws Exception {
            assumeTrue(Os.isFamily("Windows"));
    
            File upperCaseFile = createTempFile("TESTE");
            String absolutePath = upperCaseFile.getAbsolutePath();
            File lowerCaseFile = new File(absolutePath.toLowerCase());
    
            FileModelSource upperCaseFileSource = new FileModelSource(upperCaseFile);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

         *
         * @param imageFile the image file
         * @return the MIME type string
         */
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                    if (!Files.exists(xmlPath)) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Configuration file (fess_ds++.xml) not found: path={}", jarFile.getAbsolutePath());
                        }
                        continue;
                    }
                    try (InputStream is = Files.newInputStream(xmlPath)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                            tempFile.getAbsolutePath());
                }
            } catch (final IOException e) {
                logger.warn("Failed to upload backup file: fileName={}, error={}", fileName, e.getMessage(), e);
                if (tempFile.exists() && !tempFile.delete()) {
                    logger.warn("Failed to delete temporary file: {}", tempFile.getAbsolutePath());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            if (testFile != null && testFile.exists()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top