Code example for Console

Methods: readLine

0
	/** 
	 * @see org.overlord.sramp.common.shell.AbstractShellCommandReader#readLine() 
	 */ 
	@Override 
	protected String readLine() throws IOException {
		return console.readLine("s-ramp> "); //$NON-NLS-1$
	} 
 
	/** 
	 * @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) 
	 */ 
Experience pair programming with AI  Get Codota for Java