Code example for Console

Methods: readLine

0
 
    @Override 
    public void setValue 
        (Console console)
    { 
        String value=console.readLine
            ("%s",getPrompt().getText()); //$NON-NLS-1$ 
        if ((value!=null) && !StringUtils.EMPTY.equals(value)) {
            getHolder().setValue(value);
        } 
    } 
} 
Experience pair programming with AI  Get Codota for Java