Code example for Console

Methods: flush

0
	/** 
	 * @see org.overlord.sramp.common.shell.ShellCommandReader#close() 
	 */ 
	@Override 
	public void close() throws IOException { 
		console.flush();
		console = null;
	} 
 
	/** 
	 * @see org.overlord.sramp.shell.ShellCommandReader#promptForInput(java.lang.String) 
	 */ 
	@Override 
	public String promptForInput(String prompt) {
	    return console.readLine(prompt);
	} 
 
	/** 
	 * @see org.overlord.sramp.shell.ShellCommandReader#promptForPassword(java.lang.String) 
	 */ 
Contextual code suggestions in your IDE  Get Codota for Java