MCPcopy
hub / github.com/remkop/picocli / parseWithHandler

Method parseWithHandler

src/main/java/picocli/CommandLine.java:2566–2568  ·  view source on GitHub ↗

@deprecated use #execute(String...) and #getExecutionResult() instead @since 2.0

(IParseResultHandler handler, PrintStream out, String... args)

Source from the content-addressed store, hash-verified

2564 * @deprecated use {@link #execute(String...)} and {@link #getExecutionResult()} instead
2565 * @since 2.0 */
2566 @Deprecated public List<Object> parseWithHandler(IParseResultHandler handler, PrintStream out, String... args) {
2567 return parseWithHandlers(handler, out, Help.Ansi.AUTO, defaultExceptionHandler(), args);
2568 }
2569 /**
2570 * Returns the result of calling {@link #parseWithHandlers(IParseResultHandler2, IExceptionHandler2, String...)} with
2571 * a new {@link DefaultExceptionHandler} in addition to the specified parse result handler and the specified command line arguments.

Calls 2

parseWithHandlersMethod · 0.95