- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getResourceAsFile (0.18 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
} public void test_getRule_sitemaps1() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://www.example.com/sitemap1.xml"); File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml"); responseData.setResponseBody(file, false); final Rule rule = ruleManager.getRule(responseData); assertNotNull(rule); assertEquals("sitemapsRule", rule.getRuleId());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml"); responseData.setResponseBody(file, false); return responseData; } private ResponseData getTestData2_OK() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://example.com/sitemap.xml.gz"); File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml.gz");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
.singleton("fsClient", FileSystemClient.class); fsClient = container.getComponent("fsClient"); } public void test_doGet_dir() { final File file = ResourceUtil.getResourceAsFile("test"); String path = file.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } try { fsClient.doGet("file://" + path);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jun 04 06:45:16 UTC 2024 - 4.1K bytes - Viewed (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(); } public static Path getClassesPath(final String... names) { return getPath("WEB-INF/", "classes", names); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 08:52:32 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0)