Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for inputStream (0.2 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;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:27 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.unit;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Properties;
    
    import org.codelibs.core.misc.DynamicProperties;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Test implementation of system properties that loads from classpath
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
                    final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) {
                out.write(inputStream);
            }
        }
    
        /**
         * Gets the type identifier for this dictionary file.
         *
         * @return the dictionary type
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Verify content in both files
            try (InputStream in = sourceFile.getInputStream()) {
                String sourceContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, sourceContent, "Source content should remain unchanged");
            }
    
            try (InputStream in = targetFile.getInputStream()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

    package org.codelibs.fess.crawler.client.smb;
    
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.util.Date;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import java.util.Set;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test update method with InputStream
        public void test_update_withInputStream() throws Exception {
            writeTestFile("a,b => c\n");
    
            String newContent = "x,y => z\n";
            InputStream inputStream = new ByteArrayInputStream(newContent.getBytes(StandardCharsets.UTF_8));
    
            charMappingFile.update(inputStream);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.util.transport.TransportException;
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    public class SmbFileInputStream extends InputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileInputStream.class);
    
        private SmbFileHandleImpl handle;
        private long fp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TestLocking.java

    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Test class for SMB file locking operations.
     * This class is used to test concurrent file access and locking behavior.
     */
    public class TestLocking implements Runnable {
    
        private static final Logger logger = LoggerFactory.getLogger(TestLocking.class);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * @throws IOException if the InputStream throws an {@code IOException}, or if its data does not
       *     appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public static <T extends @Nullable Object> BloomFilter<T> readFrom(
          InputStream in, Funnel<? super T> funnel) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top