- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getConfOrClassesPath (0.07 seconds)
-
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; }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) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
} @Test 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) {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) -
src/main/resources/fess.xml
<property name="roleSeparator">","</property> --> </component> <component name="tikaConfig" class="org.apache.tika.config.TikaConfig"> <arg>org.codelibs.fess.util.ResourceUtil.getConfOrClassesPath("tika.xml")</arg> </component>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.5K bytes - Click Count (0)