- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for loadJsonResource (0.13 seconds)
-
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
* @return The content of the resource file as a string * @throws IOException If an I/O error occurs or the resource is not found */ public static String loadJsonResource(final String resourcePath) throws IOException { return loadJsonResource(resourcePath, Collections.emptyMap()); } /** * Loads a JSON resource file from the classpath with placeholder substitution. *Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java
*/ public class SettingsResourceLoaderTest { @Test public void testLoadJsonResource_existingResource() throws IOException { String content = SettingsResourceLoader.loadJsonResource("suggest_indices/suggest_settings.json"); assertNotNull(content); assertTrue(content.length() > 0); assertTrue(content.contains("number_of_shards")); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 4K bytes - Click Count (0)