Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for getAbsolutePath (0.26 sec)

  1. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            super.setUp();
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            sambaHelper = new SambaHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                if (path == null) {
                    return tempDir.getAbsolutePath();
                }
                // Remove leading slash if present
                if (path.startsWith("/")) {
                    path = path.substring(1);
                }
                return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                                    fileList.add(jspPath);
                                } catch (final IOException ex) {
                                    logger.warn("Could not copy from {} to {}", baseJspFile.getAbsolutePath(), jspFile.getAbsolutePath(), ex);
                                }
                            }
                        });
                    }));
            return fileList;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            ArtifactRepository r = repositorySystem.createArtifactRepository(
                    "local", "file://" + getLocalRepositoryPath().getAbsolutePath(), repoLayout, null, null);
    
            return r;
        }
    
        // ----------------------------------------------------------------------
        // Project building
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
            File pom2 = new File(pom1.getParentFile(), "p2/pom.xml");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        /*
        // TODO
        private File file1;
    
        @Override
        protected void setUp() throws Exception {
            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            @Override
            public String getRealPath(String path) {
                if (tempDir != null) {
                    return new File(tempDir, path).getAbsolutePath();
                }
                return new File("/test/webapp", path).getAbsolutePath();
            }
    
            // Other methods return null or default values
            @Override
            public Object getAttribute(String name) {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            @Override
            public String getRealPath(String path) {
                if (path != null && path.contains("WEB-INF")) {
                    return new File(parentFile, "WEB-INF").getAbsolutePath();
                }
                return parentFile.getAbsolutePath();
            }
    
            // Other methods return null or default values
            @Override
            public Object getAttribute(String name) {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                try (FileWriter writer = new FileWriter(invalidCertFile)) {
                    writer.write("INVALID CERTIFICATE CONTENT");
                }
    
                setupMockConfig("localhost:9200", "", "", invalidCertFile.getAbsolutePath());
    
                curlHelper.init();
    
                // Should handle invalid certificate gracefully
                SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    temp.deleteOnExit();
                    byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8);
                    Files.write(
                            Paths.get(temp.getAbsolutePath()), bytes, StandardOpenOption.APPEND, StandardOpenOption.CREATE);
    
                    temporaryFiles.add(temp);
                    wagon.put(temp, remotePath + "." + extension);
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top