- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for UseList (0.07 seconds)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
* The resource path. Must not be {@literal null} or empty string. * @return {@literal true} if the resource exists * @see #getResourceNoException(String) */ public static boolean isExist(final String path) { assertArgumentNotEmpty("path", path); return getResourceNoException(path) != null; } /** * Loads and returns a properties file from the context class loader.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
for (final String[] call : testClient.addMappingCalls) { assertNotNull(call); } // The loadBulkData=true path triggers getResourcePath + ResourceUtil.isExist checks. // In test environment resource files don't exist, so insertBulkData won't be called, // but the overall flow should still succeed. assertTrue(testClient.calledMethods.contains("addMapping"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
final String dataPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + configIndex + "/" + configType + ".bulk"); if (ResourceUtil.isExist(dataPath)) { insertBulkData(fessConfig, indexName, dataPath, true); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1)