- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getResourceAsStream (0.12 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
final ExtractData extractData = tikaExtractor.getText(in, null); final String content = extractData.getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); } public void test_getTika_sh() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.sh");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 30.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
* * @param path * リソースのパス。{@literal null}や空文字列であってはいけません * @return ストリーム * @see #getResourceAsStream(String, String) */ public static InputStream getResourceAsStream(final String path) { assertArgumentNotEmpty("path", path); return getResourceAsStream(path, null); } /** * コンテキストクラスローダからリソースを検索してストリームとして返します。 * * @param path
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
final MimeTypeHelper mimeTypeHelper = container.getComponent("mimeTypeHelper"); if (path != null) { try (final InputStream is = ResourceUtil.getResourceAsStream(path)) { assertEquals(expect, mimeTypeHelper.getContentType(is, name)); } } else { assertEquals(expect, mimeTypeHelper.getContentType(null, name)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
final StringBuilder mappingSource = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader( this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")))) { String line; while ((line = br.readLine()) != null) { mappingSource.append(line); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) { String line; while ((line = br.readLine()) != null) { sb.append(line); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader( new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) { String line; while ((line = br.readLine()) != null) { sb.append(line); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader( this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings_array.json")));) { String line; while ((line = br.readLine()) != null) { sb.append(line); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
private ModelValidator validator; private Model read(String pom) throws Exception { String resource = "/poms/validation/" + pom; try (InputStream is = getClass().getResourceAsStream(resource)) { assertNotNull(is, "missing resource: " + resource); return new Model(new MavenStaxReader().read(is)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 22 03:57:31 UTC 2020 - 19.7K bytes - Viewed (0)