- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getResourceAsFile (0.18 seconds)
-
src/main/java/org/codelibs/core/io/ResourceUtil.java
* The resource path. Must not be {@literal null} or empty string. * @return The file. * @see #getResourceAsFile(String, String) */ public static File getResourceAsFile(final String path) { assertArgumentNotEmpty("path", path); return getResourceAsFile(path, null); } /** * Returns the resource as a file. * * @param pathCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} finally { server.stop(); } } @Test public void test_execute_file_maxCount() throws Exception { final File targetFile = ResourceUtil.getResourceAsFile("test"); String path = targetFile.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } final String url = "file:" + path;Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 13.1K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
final Path confPath = getConfPath(names); if (Files.exists(confPath)) { return confPath; } return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath(); } /** * Gets the path to compiled classes directory. * * @param names the path components to append to the classes directory
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/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
final String aliasConfigDirPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + configIndex + "/alias"); try { final File aliasConfigDir = ResourceUtil.getResourceAsFile(aliasConfigDirPath); if (aliasConfigDir.isDirectory()) { final IndicesAliasesRequestBuilder builder = client.admin().indices().prepareAliases();
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)