org.openiec61850.server.data
Class PropertiesParser

java.lang.Object
  extended by org.openiec61850.server.data.PropertiesParser

public class PropertiesParser
extends java.lang.Object


Field Summary
 java.util.Properties properties
           
 java.lang.String[] sapNames
           
 
Constructor Summary
PropertiesParser()
           
 
Method Summary
 java.lang.String getAPName(java.lang.String sapPropName)
           
 java.lang.String getDataSourceClassName(java.lang.String AccessPointName)
          Will return the name of the DataSource class configured for the given AccessPoint.
 java.lang.String getICDFilePath()
           
 java.lang.String getSAPClassName(java.lang.String sapName)
           
 void parse(java.lang.String propFilePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sapNames

public java.lang.String[] sapNames

properties

public java.util.Properties properties
Constructor Detail

PropertiesParser

public PropertiesParser()
Method Detail

parse

public void parse(java.lang.String propFilePath)
           throws java.io.IOException,
                  javax.naming.ConfigurationException
Throws:
java.io.IOException
javax.naming.ConfigurationException

getSAPClassName

public java.lang.String getSAPClassName(java.lang.String sapName)

getDataSourceClassName

public java.lang.String getDataSourceClassName(java.lang.String AccessPointName)
Will return the name of the DataSource class configured for the given AccessPoint. If no DataSource was configured it will return null.

Parameters:
AccessPointName -

getAPName

public java.lang.String getAPName(java.lang.String sapPropName)

getICDFilePath

public java.lang.String getICDFilePath()