- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for PrintStream (0.27 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) -
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) -
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/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-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-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) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
* @param stdout stdout * @param stderr stderr * @return return code */ public int doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr) { PrintStream oldout = System.out; PrintStream olderr = System.err; final Set<String> realms; if (classWorld != null) { realms = new HashSet<>();
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/CommonsCliOptions.java
} printWriter.accept(sb.toString()); } } @Override public void displayHelp(ParserRequest request, Consumer<String> printStream) { cliManager.displayHelp(request.command(), printStream); } protected static class CLIManager { public static final String USER_PROPERTY = "D"; public static final String SHOW_VERSION_AND_EXIT = "v";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.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; import java.io.PrintStream; import java.io.PrintWriter; import java.util.LinkedHashSet; import java.util.Set; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.DefaultParser;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0)