Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getConfPath (0.04 seconds)

  1. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         *
         * @param names the path components to append to the configuration directory
         * @return the Path object pointing to the configuration file or directory
         */
        public static Path getConfPath(final String... names) {
            if (FESS_APP_DOCKER.equalsIgnoreCase(getAppType())) {
                final Path confPath = Paths.get("/opt/fess", names);
                if (Files.exists(confPath)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        @Test
        public void test_getConfPath() {
            Path confPath = ResourceUtil.getConfPath("test.conf");
            assertNotNull(confPath);
    
            // Test with empty names
            confPath = ResourceUtil.getConfPath();
            assertNotNull(confPath);
    
            // Test with multiple names
            confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf");
            assertNotNull(confPath);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top