inescID.util
Class InputTool
java.lang.Object
inescID.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
|
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 |
input
java.io.BufferedReader input
InputTool
public InputTool()
InputTool
public InputTool(java.io.InputStream in)
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