public class DromblerACPConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DIRECTORY
Name of the configuration directory.
|
static String |
CONFIG_PROPERTIES_FILE_NAME
The default name used for the configuration properties file.
|
static String |
CONFIG_PROPERTIES_PROP
The property name used to specify an URL to the configuration property file to be used for the created the
framework instance.
|
static String |
SYSTEM_PROPERTIES_FILE_NAME
The default name used for the system properties file.
|
static String |
SYSTEM_PROPERTIES_PROP
The property name used to specify an URL to the system property file.
|
static String |
USER_DIR_PROPERTY |
Constructor and Description |
---|
DromblerACPConfiguration(CommandLineArgs commandLineArgs) |
Modifier and Type | Method and Description |
---|---|
ApplicationConfiguration |
getApplicationConfig() |
CommandLineArgs |
getCommandLineArgs() |
Path |
getInstallDirPath() |
Properties |
getUserConfigProps() |
Path |
getUserDirPath() |
protected Properties |
loadDefaultConfigProps() |
protected void |
loadSystemProperties(Path rootDirPath) |
public static final String SYSTEM_PROPERTIES_PROP
public static final String SYSTEM_PROPERTIES_FILE_NAME
public static final String CONFIG_DIRECTORY
public static final String CONFIG_PROPERTIES_PROP
public static final String CONFIG_PROPERTIES_FILE_NAME
public static final String USER_DIR_PROPERTY
public DromblerACPConfiguration(CommandLineArgs commandLineArgs) throws URISyntaxException, IOException, MissingPropertyException
commandLineArgs
- URISyntaxException
IOException
MissingPropertyException
protected void loadSystemProperties(Path rootDirPath) throws MalformedURLException, IOException
MalformedURLException
IOException
protected Properties loadDefaultConfigProps() throws IOException
IOException
public final Path getInstallDirPath()
public Path getUserDirPath()
public Properties getUserConfigProps()
public ApplicationConfiguration getApplicationConfig()
public CommandLineArgs getCommandLineArgs()
Copyright © 2012–2017 Drombler. All rights reserved.