public class PasswordField
extends java.lang.Object
Constructor and Description |
---|
PasswordField() |
Modifier and Type | Method and Description |
---|---|
static char[] |
getPassword(java.io.InputStream in,
java.lang.String prompt) |
static char[] |
getPassword(java.lang.String prompt) |
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
Copyright © 2003-2014 QuickServer.org