Package adams.env
Class Environment
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.env.AbstractEnvironment
-
- adams.env.Environment
-
- All Implemented Interfaces:
LoggingSupporter,SizeOfHandler,Serializable
public class Environment extends AbstractEnvironment
Manages properties files and returns merged versions.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.env.AbstractEnvironment
ADAMS_HOME, FILENAME, KEY_DEFINITIONS, m_ApplicationFrame, m_ApplicationTerminal, m_Database, m_Definitions, m_Environment, m_EnvironmentClass, m_HomeDirectory, m_InstantiationTimestamp, m_Properties
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Environment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProject()Returns the project's name.protected List<String>getPropertiesDefinitions()Returns the resource locations of the properties files with the definitions.static voidmain(String[] args)Outputs a list of available conversions.-
Methods inherited from class adams.env.AbstractEnvironment
add, add, add, createPropertiesFilename, finishInit, getApplicationFrame, getApplicationTerminal, getCustomPropertiesFilename, getDatabase, getDefaultHome, getDefaultHome, getDirectories, getDirectories, getEnvironmentClass, getHome, getInstance, getInstantiationTimestamp, getKey, getProperties, initialize, keys, read, replace, replace, replace, runEnvironment, setApplicationFrame, setApplicationTerminal, setEnvironmentClass, setHome, setUp, toString, write
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getPropertiesDefinitions
protected List<String> getPropertiesDefinitions()
Returns the resource locations of the properties files with the definitions.- Specified by:
getPropertiesDefinitionsin classAbstractEnvironment- Returns:
- the resource locations
-
getProject
public String getProject()
Returns the project's name.- Specified by:
getProjectin classAbstractEnvironment- Returns:
- the internal name of the project
-
-