Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for printStream (0.08 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

    import java.io.OutputStream
    import java.io.PrintStream
    import org.junit.platform.engine.TestExecutionResult
    import org.junit.platform.launcher.TestExecutionListener
    import org.junit.platform.launcher.TestIdentifier
    import org.junit.platform.launcher.TestPlan
    
    object DotListener : TestExecutionListener {
      private var originalSystemErr: PrintStream? = null
      private var originalSystemOut: PrintStream? = null
      private var testCount = 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

    import java.io.PrintStream;
    
    import org.eclipse.aether.AbstractRepositoryListener;
    import org.eclipse.aether.RepositoryEvent;
    
    public class ConsoleRepositoryListener extends AbstractRepositoryListener {
    
        private PrintStream out;
    
        public ConsoleRepositoryListener() {
            this(null);
        }
    
        public ConsoleRepositoryListener(PrintStream out) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

            this.err = new PrintWriter(toPsOrDef(err, System.err), true);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream);
        }
    
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

     */
    package org.apache.maven.cli.logging;
    
    import java.io.PrintStream;
    
    import org.slf4j.Logger;
    import org.slf4j.Marker;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * @since 3.1.0
     */
    public class Slf4jStdoutLogger implements Logger {
        private static final String ERROR = "[ERROR] ";
    
        private final PrintStream out;
    
        public Slf4jStdoutLogger() {
            this(System.out);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.transfer;
    
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.api.services.MessageBuilderFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.transfer;
    
    import java.io.PrintStream;
    import java.io.PrintWriter;
    
    import org.apache.maven.api.services.MessageBuilder;
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.eclipse.aether.transfer.AbstractTransferListener;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

    public class ConsoleTransferListener extends AbstractTransferListener {
    
        private PrintStream out;
    
        private Map<TransferResource, Long> downloads = new ConcurrentHashMap<>();
    
        private int lastLength;
    
        public ConsoleTransferListener() {
            this(null);
        }
    
        public ConsoleTransferListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/DynamicProperties.java

    package org.codelibs.core.misc;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.InvalidPropertiesFormatException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest cliRequest = new CliRequest(new String[] {"--version", "--batch-mode"}, null);
            ByteArrayOutputStream systemOut = new ByteArrayOutputStream();
            PrintStream oldOut = System.out;
            System.setOut(new PrintStream(systemOut));
    
            // when
            try {
                cli.cli(cliRequest);
            } catch (MavenCli.ExitException exitException) {
                // expected
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top