| 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.quickserver.util.io.PasswordField
This class prompts the user for a password and attempts to mask input.
| Constructor Summary | |
PasswordField()
 | 
|
| Method Summary | |
static char[] | 
getPassword(java.io.InputStream in,
            java.lang.String prompt)
 | 
static char[] | 
getPassword(java.lang.String prompt)
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PasswordField()
| Method Detail | 
public static final char[] getPassword(java.lang.String prompt)
                                throws java.io.IOException
prompt - The prompt to display to the user.
java.io.IOException
public static final char[] getPassword(java.io.InputStream in,
                                       java.lang.String prompt)
                                throws java.io.IOException
in - input stream to be used (e.g. System.in)prompt - The prompt to display to the user.
java.io.IOException
  | 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||