Class JLineInputHandler

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.components.interactivity.AbstractInputHandler
org.codehaus.plexus.components.interactivity.jline.JLineInputHandler
All Implemented Interfaces:
org.codehaus.plexus.components.interactivity.InputHandler, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class JLineInputHandler extends org.codehaus.plexus.components.interactivity.AbstractInputHandler implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Default input handler, that uses the console.
Version:
$Id: JLineInputHandler.java 2649 2005-10-10 16:51:51Z brett $
Author:
Brett Porter
  • Field Summary

    Fields inherited from interface org.codehaus.plexus.components.interactivity.InputHandler

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     

    Methods inherited from class org.codehaus.plexus.components.interactivity.AbstractInputHandler

    readMultipleLines

    Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

    enableLogging, getLogger, setupLogger, setupLogger, setupLogger

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JLineInputHandler

      public JLineInputHandler()
  • Method Details

    • readLine

      public String readLine() throws IOException
      Specified by:
      readLine in interface org.codehaus.plexus.components.interactivity.InputHandler
      Throws:
      IOException
    • readPassword

      public String readPassword() throws IOException
      Specified by:
      readPassword in interface org.codehaus.plexus.components.interactivity.InputHandler
      Throws:
      IOException
    • 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