From d11bfba4213cc49fed096b6c58cfc22db1cd9e1e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 14 Jun 2011 20:36:48 +0200 Subject: [PATCH] Add accessors for the configuration file location. --- src/de/todesbaum/jsite/main/Configuration.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/de/todesbaum/jsite/main/Configuration.java b/src/de/todesbaum/jsite/main/Configuration.java index bffea23..ca5a1af 100644 --- a/src/de/todesbaum/jsite/main/Configuration.java +++ b/src/de/todesbaum/jsite/main/Configuration.java @@ -113,6 +113,25 @@ public class Configuration { } /** + * Returns the configuration directory. + * + * @return The configuration directory + */ + public ConfigurationDirectory getConfigurationDirectory() { + return configurationDirectory; + } + + /** + * Sets the configuration directory. + * + * @param configurationDirectory + * The configuration directory + */ + public void setConfigurationDirectory(ConfigurationDirectory configurationDirectory) { + this.configurationDirectory = configurationDirectory; + } + + /** * Creates the directory of the configuration file. * * @return true if the directory exists, or if it could be -- 2.7.4