net.sourceforge.openstego.util
Class PasswordInput

java.lang.Object
  extended bynet.sourceforge.openstego.util.PasswordInput

public class PasswordInput
extends Object

Utility class to handle console based password input


Constructor Summary
PasswordInput()
           
 
Method Summary
static String readPassword(String prompt)
          Method to read password from the console
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordInput

public PasswordInput()
Method Detail

readPassword

public static String readPassword(String prompt)
                           throws OpenStegoException
Method to read password from the console

Parameters:
prompt - Prompt for the password input
Returns:
The password as entered by the user
Throws:
OpenStegoException


Copyright © 2007-2008 Samir Vaidya. All Rights Reserved.