org.openiec61850.server.data
Class PropertiesParser
java.lang.Object
org.openiec61850.server.data.PropertiesParser
public class PropertiesParser
- extends java.lang.Object
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 |
sapNames
public java.lang.String[] sapNames
properties
public java.util.Properties properties
PropertiesParser
public PropertiesParser()
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()