Java EE 5 SDK

com.sun.appserv.management.util.misc
Interface LineReader

All Known Implementing Classes:
LineReaderImpl

public interface LineReader

Reads a line, outputting an optional prompt first.


Method Summary
 String readLine(String prompt)
          Reads a line, outputting an optional prompt first.
 

Method Detail

readLine

String readLine(String prompt)
                throws IOException
Reads a line, outputting an optional prompt first. If the prompt is null then no prompt is printed.

Throws:
IOException

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.