Class CliPrinter.ConsumerPrinter

java.lang.Object
software.amazon.smithy.cli.CliPrinter.ConsumerPrinter
All Implemented Interfaces:
CliPrinter
Enclosing interface:
CliPrinter

public static final class CliPrinter.ConsumerPrinter extends Object implements CliPrinter
CliPrinter that calls a Consumer that accepts a CharSequence.
  • Constructor Details

  • Method Details

    • println

      public void println(String text)
      Description copied from interface: CliPrinter
      Prints text to the writer and appends a new line.
      Specified by:
      println in interface CliPrinter
      Parameters:
      text - Text to print.