|
@ -1,7 +1,14 @@ |
|
|
|
|
|
import java.io.BufferedInputStream; |
|
|
|
|
|
import java.io.InputStream; |
|
|
|
|
|
|
|
|
public class PasswordManager implements PasswordManagerInterface { |
|
|
public class PasswordManager implements PasswordManagerInterface { |
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
PasswordManager pm = new PasswordManager(); |
|
|
PasswordManager pm = new PasswordManager(); |
|
|
pm.showMenu(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while (true) { |
|
|
|
|
|
InputStream inputStream = System.in; |
|
|
|
|
|
pm.showMenu(inputStream); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public PasswordManager() { |
|
|
public PasswordManager() { |
|
@ -19,7 +26,7 @@ public class PasswordManager implements PasswordManagerInterface { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void showMenu() { |
|
|
|
|
|
|
|
|
public void showMenu(InputStream inputStream) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |