Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for OutputStream (0.07 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

        private final Map<String, String> systemProperties;
        private final Path topDirectory;
        private final Path rootDirectory;
    
        private final InputStream in;
        private final OutputStream out;
        private final OutputStream err;
        private final List<CoreExtension> coreExtensions;
    
        @SuppressWarnings("ParameterNumber")
        public BaseInvokerRequest(
                @Nonnull ParserRequest parserRequest,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. 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 out();
    
        /**
         * Returns the error stream to be used for the Maven execution.
         * If not set, System.err will be used by default.
         *
         * @return the error stream, or null if not set
         */
        @Nullable
        OutputStream err();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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(OutputStream stream, OutputStream collector) {
                this.stream = stream;
                this.collector = collector;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestOutputStream.java

    import java.io.FilterOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestOutputStream extends FilterOutputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestOutputStream(OutputStream out, TestOption... options) throws IOException {
        this(out, Arrays.asList(options));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.function.Function;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.es.client.SearchEngineClient;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            Path path = request.getPath();
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null && path == null) {
                throw new IllegalArgumentException("writer, outputStream or path must be non null");
            }
            try {
                if (writer != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close((OutputStream) null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose_noThrowIOException() throws Exception {
            final OutputStream out = new IOExceptionOccurOutputStream();
            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top