Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getEnvPath (0.05 seconds)

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

         * @param names the path components to append to the environment directory
         * @return the Path object pointing to the environment-specific directory
         */
        public static Path getEnvPath(final String envName, final String... names) {
            return getPath("WEB-INF/", "env/" + envName, names);
        }
    
        /**
         * Gets the path by trying multiple locations in order of preference.
    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

            assertNotNull(jsPath);
            assertTrue(jsPath.toString().contains("js"));
        }
    
        @Test
        public void test_getEnvPath() {
            Path envPath = ResourceUtil.getEnvPath("test", "config.properties");
            assertNotNull(envPath);
            assertTrue(envPath.toString().contains("env"));
            assertTrue(envPath.toString().contains("test"));
        }
    
        @Test
    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