public static interface Command.Output
| Modifier and Type | Method and Description | 
|---|---|
| Command.Output | apply(String format,
     Object... columns)Formats the given string by replacing all parameters with the given columns. | 
| Command.Output | blankLine()Shortcut to print a new line. | 
| PrintWriter | getWriter()Provides access to the underlying  PrintWriter | 
| Command.Output | line(String contents)Shortcut to print the given contents in a single line. | 
| Command.Output | separator()Shortcut to print a line filled with "-------------" | 
PrintWriter getWriter()
PrintWriterCommand.Output blankLine()
Command.Output itself for fluent method calls.Command.Output line(String contents)
contents - to contents to printCommand.Output itself for fluent method calls.Command.Output separator()
Command.Output itself for fluent method calls.Command.Output apply(String format, Object... columns)
 This is a shortcut for line(String.format(format, columns)).
format - the format used to output the data.columns - the parameters supplied to the formatterCommand.Output itself for fluent method calls.String.format(String, Object...)Copyright © 2018. All rights reserved.