uk.ac.roe.antigen.textcomponents
Class DefaultPromptingInputHandler

java.lang.Object
  extended byorg.apache.tools.ant.input.DefaultInputHandler
      extended byuk.ac.roe.antigen.textcomponents.DefaultPromptingInputHandler
All Implemented Interfaces:
org.apache.tools.ant.input.InputHandler

public class DefaultPromptingInputHandler
extends org.apache.tools.ant.input.DefaultInputHandler

Prompts on System.err, reads input from System.in

Version:
$Revision: 1.1 $

Constructor Summary
DefaultPromptingInputHandler()
           
 
Method Summary
protected  java.lang.String getPrompt(org.apache.tools.ant.input.InputRequest request)
          Constructs user prompt from a request.
 
Methods inherited from class org.apache.tools.ant.input.DefaultInputHandler
getInputStream, handleInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPromptingInputHandler

public DefaultPromptingInputHandler()
Method Detail

getPrompt

protected java.lang.String getPrompt(org.apache.tools.ant.input.InputRequest request)
Constructs user prompt from a request. Supplies default if present

Parameters:
request - the request to construct the prompt for. Must not be null.
Returns:
the prompt to ask the user


Copyright © 2005 Institute for Astronomy, Royal Observatory of Edinburgh. All Rights Reserved.