public class ConsolePasswordReader extends PasswordReader
PasswordReader that takes advantage of the
built-in password reading abilities of Java6 (or higher).
Use PasswordReader.getInstance() to get an instance of
PasswordReader that's appropriate for your JVM
(this one requires a Java6 or higher JVM).PasswordReader.IOError| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
ConsolePasswordReader()
Attempt to resolve the Console methods that were introduced in Java6.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
char[] |
readPassword(String fmt,
Object... args)
Attempt to use the previously resolved Console.
|
getInstanceprotected ConsolePasswordReader()
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
public char[] readPassword(String fmt, Object... args)
readPassword クラス内 PasswordReaderCopyright © 2016. All Rights Reserved.