net.sourceforge.cvsgrab.util
Class PasswordField
java.lang.Object
net.sourceforge.cvsgrab.util.PasswordField
public class PasswordField
- extends Object
This class prompts the user for a password and attempts to mask input with ""
- Author:
- Qusay H. Mahmoud
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordField
public PasswordField()
getPassword
public String getPassword(String prompt)
throws IOException
- Gets the passowrd while masking the user input.
- Parameters:
prompt
- The prompt to display to the user.
- Returns:
- The password as entered by the user.
- Throws:
IOException
Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.