Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for OutputStream (0.1 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. 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)
  5. 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)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Optional<OutputStream> out();
    
        /**
         * Returns the error stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the error stream, or empty if not applicable
         */
        @Nonnull
        Optional<OutputStream> err();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashingOutputStream.java

       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
      // be (optionally) be combined with another if needed (with something like
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top