inescID.util
Class InputTool

java.lang.Object
  extended byinescID.util.InputTool

public class InputTool
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2002

Company Inesc-ID


Field Summary
(package private)  java.io.BufferedReader input
           
 
Constructor Summary
InputTool()
           
InputTool(java.io.InputStream in)
           
 
Method Summary
 java.lang.String readLine(java.lang.String msg)
           
 char[] readPassword(java.lang.String msg)
           
 java.net.PasswordAuthentication readUserPassword(java.lang.String msg, boolean defaults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

java.io.BufferedReader input
Constructor Detail

InputTool

public InputTool()

InputTool

public InputTool(java.io.InputStream in)
Method Detail

readLine

public java.lang.String readLine(java.lang.String msg)
                          throws java.lang.Exception
Throws:
java.lang.Exception

readPassword

public char[] readPassword(java.lang.String msg)
                    throws java.lang.Exception
Throws:
java.lang.Exception

readUserPassword

public java.net.PasswordAuthentication readUserPassword(java.lang.String msg,
                                                        boolean defaults)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception