Package org.jets3t.apps.synchronize
Class PasswordInput
- java.lang.Object
-
- org.jets3t.apps.synchronize.PasswordInput
-
public class PasswordInput extends Object
A utility class that gives the ability to check which java version is being used to determine whether the java.io.Console class can be utitlized to retrieve a password from a user's input.- Author:
- Bennett Hiles
-
-
Constructor Summary
Constructors Constructor Description PasswordInput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getPassword(String prompt)
-
-
-
Method Detail
-
getPassword
public static String getPassword(String prompt) throws IOException
- Throws:
IOException
-
-