anon.util
Interface IMiscPasswordReader
- All Known Implementing Classes:
- PasswordContentPane, SingleStringPasswordReader
public interface IMiscPasswordReader
An object implementing this interface reads passwords
from a user interface.
- Author:
- Bastian Voigt
Method Summary |
java.lang.String |
readPassword(java.lang.Object message)
Reads a password from a user interface. |
readPassword
java.lang.String readPassword(java.lang.Object message)
- Reads a password from a user interface.
Note: This method should return NULL only when the user pressed cancel. When an
empty password was supplied, an empty but non-null string should be returned!!
- Parameters:
message
- a message that the user interface can display
- Returns:
- a password