- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for ResourceUtil (0.09 sec)
-
src/main/java/org/codelibs/fess/util/ResourceUtil.java
import jakarta.servlet.ServletContext; public class ResourceUtil { private static final String FESS_OVERRIDE_CONF_PATH = "FESS_OVERRIDE_CONF_PATH"; private static final String FESS_APP_TYPE = "FESS_APP_TYPE"; private static final String FESS_APP_DOCKER = "docker"; protected ResourceUtil() { // nothing } public static String getFesenHttpUrl() {
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/core/io/ResourceUtil.java
import org.codelibs.core.jar.JarFileUtil; import org.codelibs.core.net.URLUtil; /** * リソース用のユーティリティクラスです。 * * @author higa */ public abstract class ResourceUtil { /** * リソースパスを返します。 * * @param path * パス。{@literal null}であってはいけません * @param extension * 拡張子 * @return リソースパス */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception { assertEquals("1", "xml", ResourceUtil.getExtension("aaa/bbb.xml")); assertEquals("2", null, ResourceUtil.getExtension("aaa")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
*/ package org.codelibs.fess.crawler.extractor.impl; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.crawler.entity.ExtractData; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.dbflute.utflute.core.PlainTestCase; import org.jodconverter.local.office.LocalOfficeManager;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
final Path viewPath = ResourceUtil.getViewTemplatePath(themeName); closeQuietly(viewPath); final Path imagePath = ResourceUtil.getImagePath(themeName); closeQuietly(imagePath); final Path cssPath = ResourceUtil.getCssPath(themeName); closeQuietly(cssPath); final Path jsPath = ResourceUtil.getJavaScriptPath(themeName); closeQuietly(jsPath); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java
final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.xml"); final String content = xmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); } public void test_getXml_entity() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_entity.xml");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.4K 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/rule/impl/RuleManagerImplTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.rule.impl; import java.io.File; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.helper.SitemapsHelper; import org.codelibs.fess.crawler.rule.Rule;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
count = 0; } /** * @throws Exception */ @Test public void testForEachFile() throws Exception { final File rootDir = ResourceUtil.getBuildDir(getClass()); final String path = ResourceUtil.getResourcePath(getClass()); final int pos = path.lastIndexOf("/"); final String baseDirectory = path.substring(0, pos);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8); } catch (IOException e) { throw new IORuntimeException(e); } } else if (url.contains("plugin/repo2")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 12:38:38 UTC 2024 - 5.9K bytes - Viewed (0)