uk.ac.ebi.intenz.tools.sib
Class ApplicationResources

java.lang.Object
  extended by java.util.ResourceBundle
      extended by java.util.PropertyResourceBundle
          extended by 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:

DeveloperDateDescription
P.de Matos19-Jul-2005Created class
Author:
P. de Matos

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Method Summary
 String getDbConfig()
           
 String getDbPassword()
           
 String getDbUrl()
           
 String getDbUserName()
           
 String getExportFlatFileName()
           
 String getInputFlatFileName()
           
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.
 String getSpecialCharactersFileName()
           
 
Methods inherited from class java.util.PropertyResourceBundle
getKeys, handleGetObject, handleKeySet
 
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
 

Method Detail

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.