com.fdsapi
Class TemplateVariableReader

java.lang.Object
  |
  +--com.fdsapi.TemplateReader
        |
        +--com.fdsapi.TemplateVariableReader

public class TemplateVariableReader
extends TemplateReader

Classed used in parsing templates to read the variables of the format: variable==myValue.

View Code


Constructor Summary
protected TemplateVariableReader(java.lang.String regularExpressionStr)
           
 
Method Summary
static TemplateVariableReader createInstance()
           
 java.lang.String getVariable()
           
 java.lang.String getVariableValue()
           
static void main(java.lang.String[] args)
           
 void setSourceString(java.lang.String sourceString)
           
 
Methods inherited from class com.fdsapi.TemplateReader
getParen, next, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateVariableReader

protected TemplateVariableReader(java.lang.String regularExpressionStr)
Method Detail

setSourceString

public void setSourceString(java.lang.String sourceString)
Overrides:
setSourceString in class TemplateReader

createInstance

public static TemplateVariableReader createInstance()

getVariableValue

public java.lang.String getVariableValue()

getVariable

public java.lang.String getVariable()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception