Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getConfOrClassesPath (0.08 sec)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        }
    
        public void test_getConfOrClassesPath() {
            // Test behavior when resource is not found
            try {
                Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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, either in conf directory or classpath
         */
        public static Path getConfOrClassesPath(final String... names) {
            final Path confPath = getConfPath(names);
            if (Files.exists(confPath)) {
                return confPath;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top