org.apache.xbean.command
Class CommandShell
java.lang.Object
org.apache.xbean.command.CommandShell
- All Implemented Interfaces:
- Command
public class CommandShell
- extends java.lang.Object
- implements Command
Constructor Summary |
CommandShell(java.lang.String serverName)
|
Method Summary |
protected void |
badCommand(java.io.DataInputStream in,
java.io.PrintStream out)
|
int |
main(java.lang.String[] args,
java.io.InputStream input,
java.io.PrintStream out)
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. |
protected void |
prompt(java.io.DataInputStream in,
java.io.PrintStream out)
|
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 java.lang.String TTY_Reset
- See Also:
- Constant Field Values
TTY_Bright
public static final java.lang.String TTY_Bright
- See Also:
- Constant Field Values
TTY_Dim
public static final java.lang.String TTY_Dim
- See Also:
- Constant Field Values
TTY_Underscore
public static final java.lang.String TTY_Underscore
- See Also:
- Constant Field Values
TTY_Blink
public static final java.lang.String TTY_Blink
- See Also:
- Constant Field Values
TTY_Reverse
public static final java.lang.String TTY_Reverse
- See Also:
- Constant Field Values
TTY_Hidden
public static final java.lang.String TTY_Hidden
- See Also:
- Constant Field Values
TTY_FG_Black
public static final java.lang.String TTY_FG_Black
- See Also:
- Constant Field Values
TTY_FG_Red
public static final java.lang.String TTY_FG_Red
- See Also:
- Constant Field Values
TTY_FG_Green
public static final java.lang.String TTY_FG_Green
- See Also:
- Constant Field Values
TTY_FG_Yellow
public static final java.lang.String TTY_FG_Yellow
- See Also:
- Constant Field Values
TTY_FG_Blue
public static final java.lang.String TTY_FG_Blue
- See Also:
- Constant Field Values
TTY_FG_Magenta
public static final java.lang.String TTY_FG_Magenta
- See Also:
- Constant Field Values
TTY_FG_Cyan
public static final java.lang.String TTY_FG_Cyan
- See Also:
- Constant Field Values
TTY_FG_White
public static final java.lang.String TTY_FG_White
- See Also:
- Constant Field Values
TTY_BG_Black
public static final java.lang.String TTY_BG_Black
- See Also:
- Constant Field Values
TTY_BG_Red
public static final java.lang.String TTY_BG_Red
- See Also:
- Constant Field Values
TTY_BG_Green
public static final java.lang.String TTY_BG_Green
- See Also:
- Constant Field Values
TTY_BG_Yellow
public static final java.lang.String TTY_BG_Yellow
- See Also:
- Constant Field Values
TTY_BG_Blue
public static final java.lang.String TTY_BG_Blue
- See Also:
- Constant Field Values
TTY_BG_Magenta
public static final java.lang.String TTY_BG_Magenta
- See Also:
- Constant Field Values
TTY_BG_Cyan
public static final java.lang.String TTY_BG_Cyan
- See Also:
- Constant Field Values
TTY_BG_White
public static final java.lang.String TTY_BG_White
- See Also:
- Constant Field Values
CommandShell
public CommandShell(java.lang.String serverName)
main
public int main(java.lang.String[] args,
java.io.InputStream input,
java.io.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(java.io.DataInputStream in,
java.io.PrintStream out)
badCommand
protected void badCommand(java.io.DataInputStream in,
java.io.PrintStream out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2011. All Rights Reserved.