- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 277 for inputStream (0.27 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val inputStream = connection!!.getInputStream() assertThat(inputStream!!.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 6.1K 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("ほげ")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
URL url = request.getURL(); Reader reader = request.getReader(); InputStream inputStream = request.getInputStream(); if (path == null && url == null && reader == null && inputStream == null) { throw new IllegalArgumentException("path, url, reader or inputStream must be non null"); } try { PluginDescriptorStaxReader xml = new PluginDescriptorStaxReader();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
MavenProject project; Path file = Paths.get("src/test/resources/consumer/trivial/child/pom.xml"); try (InputStream inputStream = Files.newInputStream(file)) { org.apache.maven.model.Model model = new org.apache.maven.model.Model(new MavenStaxReader().read(inputStream)); project = new MavenProject(model); project.setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closeables.java
* to flush all bytes to the underlying resource. * * @param inputStream the input stream to be closed, or {@code null} in which case this method * does nothing * @since 17.0 */ public static void closeQuietly(@CheckForNull InputStream inputStream) { try { close(inputStream, true); } catch (IOException impossible) { throw new AssertionError(impossible); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
*/ package com.google.common.io; import com.google.common.collect.Lists; import java.io.ByteArrayInputStream; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.List; /** * Test class for {@link MultiInputStream}. * * @author Chris Nokleberg */ public class MultiInputStreamTest extends IoTestCase {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
*/ package com.google.common.io; import com.google.common.collect.Lists; import java.io.ByteArrayInputStream; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.List; /** * Test class for {@link MultiInputStream}. * * @author Chris Nokleberg */ public class MultiInputStreamTest extends IoTestCase {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.6K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
copy(java.io.InputStream, java.io.Writer, int) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, String) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, String, int) throws java.io.IOException; public static String toString(java.io.InputStream) throws java.io.IOException; public static String toString(java.io.InputStream, int) throws java.io.IOException; public static String toString(java.io.InputStream, String) throws...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 200.2K bytes - Viewed (0)