uk.ac.ebi.intenz.tools.sib
Class ApplicationResources
java.lang.Object
java.util.ResourceBundle
java.util.PropertyResourceBundle
uk.ac.ebi.intenz.tools.sib.ApplicationResources
public class ApplicationResources
- extends PropertyResourceBundle
ApplicationResources provides various property resources required to
run the applications.
The application will not run unless their is a file called
application.properties. In it the following properties are
required.
application.export.fileName
application.input.fileName
application.db.config
application.xml.file
- Version:
- $id 19-Jul-2005 13:50:34
History:
Developer | Date | Description |
P.de Matos | 19-Jul-2005 | Created class |
- Author:
- P. de Matos
Methods inherited from class java.util.ResourceBundle |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ApplicationResources getInstance()
- Singleton method to create a single instance of the application
resources.
The system will exit if the application resources is unable to be created.
- Returns:
getDbUrl
public String getDbUrl()
getDbUserName
public String getDbUserName()
getDbPassword
public String getDbPassword()
getDbConfig
public String getDbConfig()
getInputFlatFileName
public String getInputFlatFileName()
getExportFlatFileName
public String getExportFlatFileName()
getSpecialCharactersFileName
public String getSpecialCharactersFileName()
Copyright © 2013 EMBL-EBI. All Rights Reserved.