| |
|
| java.lang.Object javax.security.auth.callback.TextInputCallback
All known Subclasses: javax.security.sasl.RealmCallback,
Constructor Summary | |
public | TextInputCallback(String prompt) Construct a TextInputCallback with a prompt. | public | TextInputCallback(String prompt, String defaultText) Construct a TextInputCallback with a prompt
and default input value.
Parameters: prompt - the prompt used to request the information. |
TextInputCallback | public TextInputCallback(String prompt)(Code) | | Construct a TextInputCallback with a prompt.
Parameters: prompt - the prompt used to request the information. exception: IllegalArgumentException - if prompt is nullor if prompt has a length of 0. |
TextInputCallback | public TextInputCallback(String prompt, String defaultText)(Code) | | Construct a TextInputCallback with a prompt
and default input value.
Parameters: prompt - the prompt used to request the information. Parameters: defaultText - the text to be used as the default text displayedwith the prompt. exception: IllegalArgumentException - if prompt is null,if prompt has a length of 0,if defaultText is nullor if defaultText has a length of 0.
|
getDefaultText | public String getDefaultText()(Code) | | Get the default text.
the default text, or null if this TextInputCallback was not instantiated with defaultText . |
getPrompt | public String getPrompt()(Code) | | Get the prompt.
the prompt. |
|
|
|