Util
Class UserIO

java.lang.Object
  |
  +--Util.UserIO

public final class UserIO
extends java.lang.Object

User I/O static utility functions


Field Summary
private static java.lang.String OPEN_STR
          The open command.
private static java.lang.String PROMPT_STR
          The user prompt string
private static java.lang.String TOK_SPACE
          The space separator
 
Constructor Summary
UserIO()
           
 
Method Summary
static Session parseOpenCommand(java.lang.String line)
          Read an open command from the user.
static java.lang.String readLine()
          Read a line from the user console (stdin)
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

TOK_SPACE

private static final java.lang.String TOK_SPACE
The space separator

PROMPT_STR

private static final java.lang.String PROMPT_STR
The user prompt string

OPEN_STR

private static final java.lang.String OPEN_STR
The open command. Note: case sensitive!
Constructor Detail

UserIO

public UserIO()
Method Detail

readLine

public static final java.lang.String readLine()
Read a line from the user console (stdin)

parseOpenCommand

public static final Session parseOpenCommand(java.lang.String line)
Read an open command from the user. The syntax of the command: 'open SessionName'