Class DefaultOutputHandler

java.lang.Object
org.codehaus.plexus.components.interactivity.DefaultOutputHandler
All Implemented Interfaces:
OutputHandler

@Named public class DefaultOutputHandler extends Object implements OutputHandler
Default output handler, that uses the console.
Author:
Brett Porter
  • Constructor Details

    • DefaultOutputHandler

      public DefaultOutputHandler()
  • Method Details

    • write

      public void write(String line)
      Description copied from interface: OutputHandler
      Write a single line of input, excluding the newline at the end.
      Specified by:
      write in interface OutputHandler
      Parameters:
      line - the line
    • writeLine

      public void writeLine(String line)
      Description copied from interface: OutputHandler
      Write a single line of input, including the newline at the end.
      Specified by:
      writeLine in interface OutputHandler
      Parameters:
      line - the line