- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for printStream (0.08 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.errorprone.annotations.Keep; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.io.PrintWriter; import java.io.Reader; import java.io.Serializable; import java.io.StringReader; import java.io.StringWriter; import java.io.Writer; import java.lang.reflect.AnnotatedElement;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.errorprone.annotations.Keep; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.io.PrintWriter; import java.io.Reader; import java.io.Serializable; import java.io.StringReader; import java.io.StringWriter; import java.io.Writer; import java.lang.reflect.AnnotatedElement;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
ArbitraryInstances.get(PrintStream.class).println("test"); ArbitraryInstances.get(PrintWriter.class).println("test"); assertNotNull(ArbitraryInstances.get(File.class)); assertFreshInstanceReturned( ByteArrayOutputStream.class, OutputStream.class, Writer.class, StringWriter.class, PrintStream.class, PrintWriter.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.8K bytes - Viewed (0)