net.sourceforge.cvsgrab.util
Class PasswordField

java.lang.Object
  extended by 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

Constructor Summary
PasswordField()
           
 
Method Summary
 String getPassword(String prompt)
          Gets the passowrd while masking the user input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordField

public PasswordField()
Method Detail

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.