Class s2iReader

java.lang.Object
  |
  +--s2iReader

public class s2iReader
extends java.lang.Object


Field Summary
(package private)  boolean compProc
          set to true if the current token is in component section
(package private)  boolean globalProc
          set to true if the current token is in global param section
(package private)  boolean modelProc
          set to true if the current token is in model section
 
Constructor Summary
s2iReader()
           
 
Method Summary
static void main(java.lang.String[] args)
           
(package private)  java.lang.String newVal(java.lang.String args)
           
(package private)  void processKey(java.lang.String key, java.lang.String args, s2iData sp2i)
          Depending on the key value, args are parsed and corresponding s2i data structure is stuffed.
 void Sp2iParse(java.lang.String inFile, s2iData fileData)
          The constructor opens the given .s2i file, parses it, and populates the given s2i data structure.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

modelProc

boolean modelProc
set to true if the current token is in model section

compProc

boolean compProc
set to true if the current token is in component section

globalProc

boolean globalProc
set to true if the current token is in global param section
Constructor Detail

s2iReader

public s2iReader()
Method Detail

Sp2iParse

public void Sp2iParse(java.lang.String inFile,
                      s2iData fileData)
The constructor opens the given .s2i file, parses it, and populates the given s2i data structure.
Parameters:
inFile - input .s2i file
sp2i - main object containing s2i data structure
See Also:
StringTokenizer

newVal

java.lang.String newVal(java.lang.String args)

processKey

void processKey(java.lang.String key,
                java.lang.String args,
                s2iData sp2i)
Depending on the key value, args are parsed and corresponding s2i data structure is stuffed.
Parameters:
key - the key value denoting parameter type
args - parameters values
sp2i - object s2i data structure

main

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