Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for OutputStream (0.06 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            connection.setUseCaches(useCaches);
        }
    
        private static class CacheStream extends OutputStream {
    
            private final OutputStream stream;
    
            private final OutputStream collector;
    
            public CacheStream(final OutputStream stream, final OutputStream collector) {
                this.stream = stream;
                this.collector = collector;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early
            assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early
    
            // These should pass through to the underlying implementation
            assertDoesNotThrow(() -> outputStream.write(data, 0, 10)); // valid - will consume first mock (10)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                builder.field("test", "value");
                builder.endObject();
                return builder;
            };
    
            OutputStream outputStream = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON);
            assertNotNull(outputStream);
            assertTrue(outputStream instanceof ByteArrayOutputStream);
        }
    
        public void test_getXContentBuilderOutputStream_ioException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                // When
                OutputStream os1 = mockResource.openOutputStream();
                OutputStream os2 = mockResource.openOutputStream(true);
                OutputStream os3 = mockResource.openOutputStream(false, 1);
                OutputStream os4 = mockResource.openOutputStream(true, 1, 2, 3);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CopyUtil.java

         * Wraps the output stream with a {@link BufferedOutputStream} if necessary.
         *
         * @param os the output stream
         * @return the wrapped output stream
         */
        protected static OutputStream wrap(final OutputStream os) {
            if (os instanceof BufferedOutputStream) {
                return os;
            }
            if (os instanceof ByteArrayOutputStream) {
                return os;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.connection.setConnectTimeout(connectTimeout);
        }
    
        private static class CacheStream extends OutputStream {
    
            private final OutputStream stream;
    
            private final OutputStream collector;
    
            public CacheStream(final OutputStream stream, final OutputStream collector) {
                this.stream = stream;
                this.collector = collector;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private final SmbFile file;
        private final boolean append, useNTSmbs;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        @Override
        public void store(final OutputStream out, final String comments) throws IOException {
            getProperties().store(out, comments);
        }
    
        @Override
        public void store(final Writer writer, final String comments) throws IOException {
            getProperties().store(writer, comments);
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.smb2.io.Smb2WriteResponse;
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileOutputStream.class);
    
        private final SmbFile file;
        private final boolean append;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top