org.epics.pvmanager.util
Class FunctionParser

java.lang.Object
  extended by org.epics.pvmanager.util.FunctionParser

public class FunctionParser
extends java.lang.Object

Utility class to parse variable names and create simulated signals.

Author:
carcassi

Constructor Summary
FunctionParser()
           
 
Method Summary
static java.util.List<java.lang.Object> parseFunction(java.lang.String string)
          Parse a function with parameters and returns a list where the first element is the function name and the others are the parsed arguments.
static java.util.List<java.lang.Object> parsePvAndArguments(java.lang.String string)
          Parse a pv name with parameters and returns a list where the first element is the function name and the others are the parsed arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionParser

public FunctionParser()
Method Detail

parseFunction

public static java.util.List<java.lang.Object> parseFunction(java.lang.String string)
Parse a function with parameters and returns a list where the first element is the function name and the others are the parsed arguments.

Parameters:
string - a string representing a function
Returns:
the name and the parameters

parsePvAndArguments

public static java.util.List<java.lang.Object> parsePvAndArguments(java.lang.String string)
Parse a pv name with parameters and returns a list where the first element is the function name and the others are the parsed arguments.

Parameters:
string - a string representing a function
Returns:
the name and the parameters