Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for OutputStream (0.08 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. 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

            this(null, null);
        }
    
        public ProtoLogger(@Nullable OutputStream out, @Nullable OutputStream err) {
            this.out = new PrintWriter(toPsOrDef(out, System.out), true);
            this.err = new PrintWriter(toPsOrDef(err, System.err), true);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvokerRequest.java

                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
                List<CoreExtension> coreExtensions,
                O options) {
            super(
                    parserRequest,
                    cwd,
                    installationDirectory,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

         * @throws IOException java.io.IOException if any.
         */
        public void write(OutputStream stream, Model model) throws IOException {
            try {
                delegate.write(stream, model.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        } // -- void write( OutputStream, Model )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

     */
    package org.apache.maven.model.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.model.Model;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerRequest.java

                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
                List<CoreExtension> coreExtensions,
                List<String> jvmArguments,
                MavenOptions options) {
            super(
                    parserRequest,
                    cwd,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java

         * @param stream a stream object.
         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(OutputStream stream, Model model) throws IOException {
            super.write(stream, model);
        } // -- void write( OutputStream, Model )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvokerRequest.java

                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
                List<CoreExtension> coreExtensions,
                Options options) {
            super(
                    parserRequest,
                    cwd,
                    installationDirectory,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top