1 package org.codehaus.groovy.sandbox.ui; 2 3 import java.io.IOException; 4 5 public interface Prompt { 6 String readLine() throws IOException; 7 8 void setCompleter(Completer completer); 9 10 void setPrompt(String prompt); 11 12 void close(); 13 }