01: package org.codehaus.groovy.sandbox.ui; 02: 03: import java.io.IOException; 04: 05: public interface Prompt { 06: String readLine() throws IOException; 07: 08: void setCompleter(Completer completer); 09: 10: void setPrompt(String prompt); 11: 12: void close(); 13: }