Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 318 for inputStream (0.37 sec)

  1. src/main/java/org/codelibs/core/io/ResourceHandler.java

     */
    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    /**
     * リソースを処理するハンドラのインターフェースです。
     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * リソースを処理します。
         *
         * @param path
         *            パス
         * @param is
         *            リソースを読み込むための{@link InputStream}
         */
        void processResource(String path, InputStream is);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. 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];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  3. 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 {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public Settings read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

    public class TextExtractor extends AbstractExtractor {
    
        protected String encoding = Constants.UTF_8;
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                return new ExtractData(new String(InputStreamUtil.getBytes(in), getEncoding()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

      }
    
      private fun newEmptyKeyStore(keyStoreType: String?): KeyStore {
        return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply {
          val inputStream: InputStream? = null // By convention, 'null' creates an empty key store.
          load(inputStream, password)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/MultiInputStream.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
     * An {@link InputStream} that concatenates multiple substreams. At most one stream will be open at
     * a time.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top