com.odesys.chart.applet
Class ParamParser

java.lang.Object
  |
  +--com.odesys.chart.applet.ParamParser

public class ParamParser
extends java.lang.Object

ParamParser is used internally to parse the init scripts.


Constructor Summary
ParamParser(java.lang.String s)
          Create a new ParamParser instance to parse the specified script.
 
Method Summary
 java.util.Vector getNext()
          Gets the next command in the script.
static int parseInt(java.lang.String s)
          Parses an integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamParser

public ParamParser(java.lang.String s)
Create a new ParamParser instance to parse the specified script.
Method Detail

getNext

public java.util.Vector getNext()
                         throws java.lang.Exception
Gets the next command in the script.

parseInt

public static int parseInt(java.lang.String s)
Parses an integer. Supports Decimal, Hexadecimal and Octal numbers.
Returns:
The int value of the specified String.