- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetOut (0.04 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
PrintStream oldOut = System.out; System.setOut(new PrintStream(systemOut)); // when try { cli.cli(cliRequest); } catch (MavenCli.ExitException exitException) { // expected } finally { // restore sysout System.setOut(oldOut); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
} try { final PrintStream originalOutStream = System.out; final ByteArrayOutputStream outStream = new ByteArrayOutputStream(); System.setOut(new PrintStream(outStream, true)); final PrintStream originalErrStream = System.err; final ByteArrayOutputStream errStream = new ByteArrayOutputStream();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
stdout.setLogLevel(LocationAwareLogger.INFO_INT); stderr.setLogLevel(LocationAwareLogger.INFO_INT); System.setOut(new LoggingOutputStream(s -> stdout.info("[stdout] " + s)).printStream()); System.setErr(new LoggingOutputStream(s -> stderr.warn("[stderr] " + s)).printStream());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0)