Package org.jline.demo.examples
Class GroovyScriptExample
java.lang.Object
org.jline.demo.examples.GroovyScriptExample
Example demonstrating a Groovy script in JLine.
This is not a runnable Java class but shows the structure of a Groovy script.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidExample of a JLine Groovy script (hello.groovy) Groovy scripts are executed by the REPL console and can contain Groovy code that interacts with the console.static void
-
Constructor Details
-
GroovyScriptExample
public GroovyScriptExample()
-
-
Method Details
-
groovyScriptExample
Example of a JLine Groovy script (hello.groovy) Groovy scripts are executed by the REPL console and can contain Groovy code that interacts with the console. This is not actual Java code but a representation of what a Groovy script looks like.- Throws:
IOException
-
main
- Throws:
IOException
-