com.zphinx.spine.start.helpers.impl
Class ConfigReader

java.lang.Object
  extended by com.zphinx.spine.start.helpers.AbstractConfigHelper
      extended by com.zphinx.spine.start.helpers.impl.ConfigReader

public class ConfigReader
extends AbstractConfigHelper

ConfigReader helps to read and parse the incomming start configuration file loaded at startup

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Field Summary
 
Fields inherited from class com.zphinx.spine.start.helpers.AbstractConfigHelper
hash
 
Constructor Summary
ConfigReader()
           
 
Method Summary
protected  void readNodeTypes(Node node, int type)
          Reads the different types of nodes e.g Element node
 void resetHelper()
          Resets the helper variables
 
Methods inherited from class com.zphinx.spine.start.helpers.AbstractConfigHelper
createConfig, createConfig, getNodeData, loopChildNodes, recurseNodeTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReader

public ConfigReader()
Method Detail

readNodeTypes

protected void readNodeTypes(Node node,
                             int type)
                      throws NumberFormatException,
                             Throwable
Description copied from class: AbstractConfigHelper
Reads the different types of nodes e.g Element node

Specified by:
readNodeTypes in class AbstractConfigHelper
Parameters:
node - The node to read
type - The type of node to be read e.g Node.ELEMENT_NODE
Throws:
NumberFormatException
Throwable

resetHelper

public void resetHelper()
Description copied from class: AbstractConfigHelper
Resets the helper variables

Specified by:
resetHelper in class AbstractConfigHelper