- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for PrintWriter (0.1 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
} // Package protected for test static String toMessage(String modelId, List<ModelProblem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective model");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java
PrintWriter pWriter = new PrintWriter(sWriter); error.printStackTrace(pWriter); System.out.println("[" + prefix + "] " + sWriter.toString()); } private void print(String prefix, CharSequence content, Throwable error) { StringWriter sWriter = new StringWriter(); PrintWriter pWriter = new PrintWriter(sWriter);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java
*/ public class ProtoLogger implements Logger { private final PrintWriter out; private final PrintWriter err; public ProtoLogger() { 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); }
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
protected final MessageBuilderFactory messageBuilderFactory; protected final PrintWriter out; protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintStream out) { this(messageBuilderFactory, new PrintWriter(out)); } protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintWriter out) { this.messageBuilderFactory = messageBuilderFactory;
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-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
public List<Problem> getProblems() { return problems; } private static String toMessage(List<Problem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective toolchains");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
* Emits warning messages if deprecated options are used. * * @param printWriter the string consumer to use for output */ default void warnAboutDeprecatedOptions(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter) {} /** * Displays help information for these options. * * @param printWriter the string consumer to use for output */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 22 14:53:58 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
return problems; } private static String toMessage(List<SettingsProblem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective settings");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
return buf; } protected StringBuilder appendException(final StringBuilder buf, final Exception exception) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) { exception.printStackTrace(writer); writer.flush();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
List<O> parsedOptions = parseCliOptions(context); // warn about deprecated options PrintWriter printWriter = new PrintWriter(parserRequest.out() != null ? parserRequest.out() : System.out, true); parsedOptions.forEach(o -> o.warnAboutDeprecatedOptions(parserRequest, printWriter::println)); // assemble options if needed context.options = assembleOptions(parsedOptions);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
MessageBuilderFactory messageBuilderFactory, PrintStream out, boolean printResourceNames) { this(messageBuilderFactory, new PrintWriter(out), printResourceNames); } public ConsoleMavenTransferListener( MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) { super(messageBuilderFactory, out); this.printResourceNames = printResourceNames; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0)