|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ro.raducora.utils.props.xml.ClientTCPXMLProperties
| Constructor Summary | |
ClientTCPXMLProperties()
Default Constructor takes as default properties filename path ". |
|
ClientTCPXMLProperties(java.lang.String filename)
|
|
| Method Summary | |
java.lang.String |
getServerIP(java.lang.String dbname)
Gets Server IP for the specific key |
int |
getServerPORT(java.lang.String dbname)
Gets Server PORT for the specific key |
void |
reload()
Reloads the Properties from properties Source |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientTCPXMLProperties()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
"./conf/ClientTCP.xml"
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public ClientTCPXMLProperties(java.lang.String filename)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
filename - the properties filename
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException| Method Detail |
public java.lang.String getServerIP(java.lang.String dbname)
ClientTCPProps
getServerIP in interface ClientTCPPropsdbname - Key to search
ClientTCPProps.getServerIP(java.lang.String)public int getServerPORT(java.lang.String dbname)
ClientTCPProps
getServerPORT in interface ClientTCPPropsdbname - Key to search
ClientTCPProps.getServerPORT(java.lang.String)
public void reload()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
Props
reload in interface Propsjavax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOExceptionProps.reload()
|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||