Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for InputStream (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            }
    
            public XmlReaderRequestBuilder url(URL url) {
                this.url = url;
                return this;
            }
    
            public XmlReaderRequestBuilder inputStream(InputStream inputStream) {
                this.inputStream = inputStream;
                return this;
            }
    
            public XmlReaderRequestBuilder reader(Reader reader) {
                this.reader = reader;
                return this;
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            nonNull(request, "request");
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (reader == null && inputStream == null) {
                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  6. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            nonNull(request, "request");
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (reader == null && inputStream == null) {
                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashingInputStream.java

       * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
       * read from it to the underlying {@link InputStream}.
       *
       * <p>The {@link InputStream} should not be read from before or after the hand-off.
       */
      public HashingInputStream(HashFunction hashFunction, InputStream in) {
        super(checkNotNull(in));
        this.hasher = checkNotNull(hashFunction.newHasher());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar

    public Class loadRealmClass(String) throws ClassNotFoundExcepti; public java.net.URL getRealmResource(String); public java.io.InputStream getRealmResourceAsSt(String); public java.util.Enumeration findRealmResources(String) throws java.io.IOException; public Class loadClass(String) throws ClassNotFoundExcepti; public java.net.URL getResource(String); public java.io.InputStream getResourceAsStream(String); public java.util.Enumeration findResources(String) throws java.io.IOException; public void display();...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 41.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

     */
    
    package jcifs.smb1.netbios;
    
    import java.io.InputStream;
    import java.io.IOException;
    
    class SocketInputStream extends InputStream {
    
        private static final int TMP_BUFFER_SIZE = 256;
    
        private InputStream in;
        private SessionServicePacket ssp;
        private int tot, bip, n;
        private byte[] header, tmp;
    
        SocketInputStream( InputStream in ) {
            this.in = in;
            header = new byte[4];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.3K bytes
    - Viewed (0)
Back to top