Class DefaultOutputHandler

java.lang.Object
org.codehaus.plexus.components.interactivity.DefaultOutputHandler
All Implemented Interfaces:
OutputHandler, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class DefaultOutputHandler extends Object implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable, OutputHandler
Default output handler, that uses the console.
Version:
$Id: DefaultOutputHandler.java 2648 2005-10-10 16:41:24Z brett $
Author:
Brett Porter
  • Constructor Details

    • DefaultOutputHandler

      public DefaultOutputHandler()
  • Method Details

    • initialize

      public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
      Specified by:
      initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
      Throws:
      org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
    • write

      public void write(String line) throws IOException
      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
      Throws:
      IOException
    • writeLine

      public void writeLine(String line) throws IOException
      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
      Throws:
      IOException