Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for OutputStream (0.04 sec)

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

            Path path;
            OutputStream outputStream;
            Writer writer;
            T content;
            Function<Object, String> inputLocationFormatter;
    
            public XmlWriterRequestBuilder<T> path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) {
                this.outputStream = outputStream;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSink.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.charset.Charset;
    
    /**
     * A destination to which bytes can be written, such as a file. Unlike an {@link OutputStream}, a
     * {@code ByteSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code OutputStream} instances.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteSink.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.charset.Charset;
    
    /**
     * A destination to which bytes can be written, such as a file. Unlike an {@link OutputStream}, a
     * {@code ByteSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code OutputStream} instances.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

        }
    
        /**
         * Creates an OutputStream from an XContentBuilder using the provided callback function.
         *
         * @param func the callback function to build XContent
         * @param mediaType the media type for the content builder
         * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

        public SystemLogger(@Nullable OutputStream out) {
            this(out, null);
        }
    
        public SystemLogger(@Nullable OutputStream out, @Nullable Level threshold) {
            this.out = new PrintWriter(toPsOrDef(out, System.err), true);
            this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @return the output stream, or null if not set
         */
        @Nullable
        OutputStream stdOut();
    
        /**
         * Returns the error stream to be used for the Maven execution.
         * If not set, {@link System#err} will be used by default.
         *
         * @return the error stream, or null if not set
         */
        @Nullable
        OutputStream stdErr();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/StorageClient.java

        /**
         * Downloads an object from storage.
         *
         * @param objectName the name/path of the object to download
         * @param outputStream the output stream to write data to
         */
        void downloadObject(String objectName, OutputStream outputStream);
    
        /**
         * Deletes an object from storage.
         *
         * @param objectName the name/path of the object to delete
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

            write(XmlWriterRequest.<T>builder().content(content).path(path).build());
        }
    
        default void write(@Nonnull T content, @Nonnull OutputStream outputStream) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder()
                    .content(content)
                    .outputStream(outputStream)
                    .build());
        }
    
        default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top