org.wso2.carbon.utils
Class PasswordPrompt

java.lang.Object
  extended by org.wso2.carbon.utils.PasswordPrompt
All Implemented Interfaces:
Runnable

public class PasswordPrompt
extends Object
implements Runnable


Constructor Summary
PasswordPrompt(String prompt, PrintWriter out)
           
 
Method Summary
 String getPassword(BufferedReader in)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordPrompt

public PasswordPrompt(String prompt,
                      PrintWriter out)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

getPassword

public String getPassword(BufferedReader in)
                   throws IOException
Throws:
IOException


Copyright © 2014 WSO2 Inc. All rights reserved.