public class PasswordCallback extends Object implements Callback
| Constructor and Description |
|---|
PasswordCallback(String prompt,
boolean echoOn)
Creates a new instance of PasswordCallback
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearPassord()
Clear the retrieved password.
|
char[] |
getPassword()
Get the retrieved password.
|
String |
getPrompt()
Get the prompt.
|
boolean |
isEchoOn()
return whether the password should be displayed as being typed.
|
void |
setPassword(char[] password)
Set the retrieved password.
|
public PasswordCallback(String prompt, boolean echoOn)
public String getPrompt()
public boolean isEchoOn()
public void setPassword(char[] password)
public char[] getPassword()
public void clearPassord()
Copyright © 2012 code4tv.com. All Rights Reserved.