- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 59 for setContent (0.22 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
Class<? super @NonNull E> type, E[] emptyArrayForContents, Iterable<? extends E> contents) { List<E> setContents = new ArrayList<>(); for (E e : contents) { if (!setContents.contains(e)) { setContents.add(e); } } return new MinimalSet<>(type, setContents.toArray(emptyArrayForContents)); } private MinimalSet(Class<? super @NonNull E> type, E... contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
Map<String, String> params = new HashMap<String, String>(); params.put("resourceName", "test.odt"); ExtractData extractData = jodExtractor.getText(in, params); String content = extractData.getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); } public void test_getText_ooow_as() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java
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"); final String content = xmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in);
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/extractor/impl/TikaExtractorTest.java
CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); } public void test_getTika_hpp() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.hpp"); final ExtractData extractData = tikaExtractor.getText(in, null); final String content = extractData.getContent();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 30.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
final Map<String, String> params = new HashMap<String, String>(); final ExtractData text = extractor.getText(new FileInputStream(contentFile), params); assertEquals(content, text.getContent()); } public void test_getText_withUrl() throws IOException { final File scriptFile = createScriptTempFile(3); final String content = "TEST";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java
CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); } public void test_getHtml_sjis() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html"); final String content = htmlXpathExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
@Experimental public interface XmlWriterRequest<T> { @Nullable Path getPath(); @Nullable OutputStream getOutputStream(); @Nullable Writer getWriter(); @Nonnull T getContent(); @Nullable Function<Object, String> getInputLocationFormatter(); static <T> XmlWriterRequestBuilder<T> builder() { return new XmlWriterRequestBuilder<>(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Aug 10 22:21:50 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
} @Test void testGetContent() { StringSource source = new StringSource(null); assertEquals("", source.getContent()); source = new StringSource("Hello World!", "LOCATION"); assertEquals("Hello World!", source.getContent()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
public void test_getHtml_utf8() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html"); final ExtractData data = htmlExtractor.getText(in, null); final String content = data.getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); assertEquals("タイトル", data.getValues("title")[0]); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0)