Class ConfigurationLoaderImpl
- java.lang.Object
-
- com.caplin.motif.fx.ret.common.configurationproperties.ConfigurationLoaderImpl
-
- All Implemented Interfaces:
ConfigurationLoader
public class ConfigurationLoaderImpl extends java.lang.Object implements ConfigurationLoader
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CUSTOM_CONFIG_DIR_PROPERTY
static java.lang.String
CUSTOM_OVERRIDE_CONFIG_DIR_PROPERTY
-
Constructor Summary
Constructors Constructor Description ConfigurationLoaderImpl(java.lang.String productName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFilePath(java.lang.String fileName)
Returns the path for the given file name.void
initialise()
-
-
-
Field Detail
-
CUSTOM_CONFIG_DIR_PROPERTY
public static final java.lang.String CUSTOM_CONFIG_DIR_PROPERTY
- See Also:
- Constant Field Values
-
CUSTOM_OVERRIDE_CONFIG_DIR_PROPERTY
public static final java.lang.String CUSTOM_OVERRIDE_CONFIG_DIR_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
public void initialise() throws ConfigurationLoaderException
- Throws:
ConfigurationLoaderException
-
getFilePath
public java.lang.String getFilePath(java.lang.String fileName) throws ConfigurationLoaderException
Description copied from interface:ConfigurationLoader
Returns the path for the given file name.- Specified by:
getFilePath
in interfaceConfigurationLoader
- Parameters:
fileName
- The name of the file to get the path of.- Returns:
- The path of the file.
- Throws:
ConfigurationLoaderException
-
-