001 package org.codehaus.groovy.sandbox.ui; 002 003 import java.io.IOException; 004 005 public interface Prompt { 006 String readLine() throws IOException; 007 008 void setCompleter(Completer completer); 009 010 void setPrompt(String prompt); 011 012 void close(); 013 }