com.metamatrix.script.shell
Class SimpleParser

java.lang.Object
  extended by com.metamatrix.script.shell.SimpleParser
All Implemented Interfaces:
CustomParser

public class SimpleParser
extends java.lang.Object
implements CustomParser

A parser class used in conjunction with Bean Shell


Constructor Summary
SimpleParser()
           
 
Method Summary
 java.lang.String convert(java.lang.String str)
          Convert the command entered on the command line to bean shell specific command.
 void setInterpreter(bsh.Interpreter i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleParser

public SimpleParser()
Method Detail

convert

public java.lang.String convert(java.lang.String str)
Description copied from interface: CustomParser
Convert the command entered on the command line to bean shell specific command.

Specified by:
convert in interface CustomParser
Returns:
bean shell understandable command

setInterpreter

public void setInterpreter(bsh.Interpreter i)
Specified by:
setInterpreter in interface CustomParser


Copyright © 2009. All Rights Reserved.