Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 409 for asStream (0.71 sec)

  1. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        InputStream getInput() throws CIFSException;
    
        /**
         * Gets the output stream for writing to this pipe.
         *
         * @return this pipe's output stream
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = new byte[0];
            ContentCache cache = new ContentCache(data);
    
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
                assertEquals(-1, stream.read()); // Should indicate end of stream
            }
        }
    
        @Test
        public void testFileBasedCacheWithEmptyFile() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            assertTrue("validateInputStream should be called", extractor.isValidateCalled());
            assertSame("Should validate the same stream instance", in, extractor.getLastValidatedStream());
        }
    
        /**
         * Test that getText throws exception when null stream is provided.
         * Note: validateInputStream throws the exception, so the validateCalled flag
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                    .filter(StringUtil::isNotBlank)
                    .distinct()
                    .collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                    .object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1)
                    .contentType("application/octet-stream")
                    .build());
            minioClient.putObject(PutObjectArgs.builder()
                    .bucket(bucketName)
                    .object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Locale;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.commons.text.StringEscapeUtils;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(is1, "Default input stream should not be null");
                assertNotNull(is2, "Input stream with sharing should not be null");
                assertNotNull(is3, "Input stream with full params should not be null");
                assertSame(mockInputStream, is1, "Should return expected input stream");
                assertSame(mockInputStream, is2, "Should return expected input stream");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                return mimeTypeHelper.getContentType(is, filename);
            }
        }
    
        /**
         * Gets an input stream for the content in the deferred file output stream.
         *
         * @param out the deferred file output stream
         * @return the input stream for the content
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            }
    
            byte[] content;
            try (ASN1InputStream stream = new ASN1InputStream(token)) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
            try (ASN1InputStream stream = new ASN1InputStream(content)) {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top