com.buglabs.osgi.shell.internal
Class CommandParser
java.lang.Object
com.buglabs.osgi.shell.internal.CommandParser
public class CommandParser
- extends java.lang.Object
Parses console commands.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandParser
public CommandParser(BundleContext context,
LogService log)
attach
public void attach(java.io.OutputStream out,
java.io.OutputStream err)
parse
protected ICommand parse(java.lang.String commandLine)
throws java.io.IOException
- Throws:
java.io.IOException
serviceChanged
public void serviceChanged(ServiceEvent event)
isSaveHistory
public boolean isSaveHistory()
setSaveHistory
public void setSaveHistory(boolean saveHistory)
getCommands
protected java.util.Map getCommands()
getOut
public java.io.OutputStream getOut()
getErr
public java.io.OutputStream getErr()
getCommandStack
protected com.buglabs.osgi.shell.internal.FixedLengthStack getCommandStack()