org.apache.xbean.command
Class CommandShell
java.lang.Object
org.apache.xbean.command.CommandShell
- All Implemented Interfaces:
- Command
public class CommandShell
- extends Object
- implements Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESC
public static final char ESC
- See Also:
- Constant Field Values
TTY_Reset
public static final String TTY_Reset
- See Also:
- Constant Field Values
TTY_Bright
public static final String TTY_Bright
- See Also:
- Constant Field Values
TTY_Dim
public static final String TTY_Dim
- See Also:
- Constant Field Values
TTY_Underscore
public static final String TTY_Underscore
- See Also:
- Constant Field Values
TTY_Blink
public static final String TTY_Blink
- See Also:
- Constant Field Values
TTY_Reverse
public static final String TTY_Reverse
- See Also:
- Constant Field Values
TTY_Hidden
public static final String TTY_Hidden
- See Also:
- Constant Field Values
TTY_FG_Black
public static final String TTY_FG_Black
- See Also:
- Constant Field Values
TTY_FG_Red
public static final String TTY_FG_Red
- See Also:
- Constant Field Values
TTY_FG_Green
public static final String TTY_FG_Green
- See Also:
- Constant Field Values
TTY_FG_Yellow
public static final String TTY_FG_Yellow
- See Also:
- Constant Field Values
TTY_FG_Blue
public static final String TTY_FG_Blue
- See Also:
- Constant Field Values
TTY_FG_Magenta
public static final String TTY_FG_Magenta
- See Also:
- Constant Field Values
TTY_FG_Cyan
public static final String TTY_FG_Cyan
- See Also:
- Constant Field Values
TTY_FG_White
public static final String TTY_FG_White
- See Also:
- Constant Field Values
TTY_BG_Black
public static final String TTY_BG_Black
- See Also:
- Constant Field Values
TTY_BG_Red
public static final String TTY_BG_Red
- See Also:
- Constant Field Values
TTY_BG_Green
public static final String TTY_BG_Green
- See Also:
- Constant Field Values
TTY_BG_Yellow
public static final String TTY_BG_Yellow
- See Also:
- Constant Field Values
TTY_BG_Blue
public static final String TTY_BG_Blue
- See Also:
- Constant Field Values
TTY_BG_Magenta
public static final String TTY_BG_Magenta
- See Also:
- Constant Field Values
TTY_BG_Cyan
public static final String TTY_BG_Cyan
- See Also:
- Constant Field Values
TTY_BG_White
public static final String TTY_BG_White
- See Also:
- Constant Field Values
CommandShell
public CommandShell(String serverName)
main
public int main(String[] args,
InputStream input,
PrintStream out)
- Description copied from interface:
Command
- HRC: if we really want to simulate a command line style environment,
I think think entry point needs more context data: an std error print stream and
a environment map.
- Specified by:
main
in interface Command
- Returns:
prompt
protected void prompt(DataInputStream in,
PrintStream out)
badCommand
protected void badCommand(DataInputStream in,
PrintStream out)
throws IOException
- Throws:
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.