public class Console
extends java.lang.Object
Constructor and Description |
---|
Console()
Constructor of Console
|
Console(org.codehaus.groovy.tools.shell.IO io, java.lang.String inputPrompt, java.lang.String resultPrompt)
Constructor of Console
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main entrance
|
public Console()
public Console(org.codehaus.groovy.tools.shell.IO io, java.lang.String inputPrompt, java.lang.String resultPrompt)
io
- an instance of IOinputPrompt
- prompt to show at the beginning of each input lineresultPrompt
- prompt to show before each outputCopyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.