- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 267 for inputStream (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Aug 29 12:46:27 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
assertTrue(output.contains("UTF-16 test")); } public void test_run_withIOException() throws InterruptedException { InputStream faultyStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Test exception"); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java
public void test_getXml_sjis() { 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() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.extractor.impl; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CloseableUtil;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . */ @Test public void testLoadPropertiesInputStream() { final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"); final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStream); assertThat(properties.getProperty("hoge"), is("ほげ")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
/** * Constructs a new IgnoreCloseInputStream that wraps the specified input stream. * * @param inputStream the input stream to wrap */ public IgnoreCloseInputStream(final InputStream inputStream) { this.inputStream = inputStream; } /** * Overrides the close method to ignore the close operation. * The underlying input stream will not be closed. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertTrue(stopwordsFile.stopwordsItemList.size() < originalSize); } // Test reload with InputStream public void test_reload_withComments() { String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line "word2\n" + "# Another comment\n" + "word3\n"; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} @Override public InputStream openStream() throws IOException { return sliceStream(ByteSource.this.openStream()); } @Override public InputStream openBufferedStream() throws IOException { return sliceStream(ByteSource.this.openBufferedStream()); } private InputStream sliceStream(InputStream in) throws IOException { if (offset > 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
} /** * Wraps a {@link InputStream}, limiting the number of bytes which can be read. * * @param in the input stream to be wrapped * @param limit the maximum number of bytes to be read * @return a length-limited {@link InputStream} * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream) */ @J2ktIncompatible public static InputStream limit(InputStream in, long limit) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0)