01: package org.claros.commons.configuration;
02:
03: /**
04: * Constants class for Paths in the application
05: *
06: * @author Umut Gökbayrak
07: */
08: public class Paths {
09: private static String prefix = "/";
10: private static String logFolder;
11: private static String cfgFolder;
12: private static String libFolder;
13: private static String resFolder;
14: private static String clsFolder;
15: private static String dbFolder;
16:
17: public static String getCfgFolder() {
18: return cfgFolder;
19: }
20:
21: public static void setCfgFolder(String cfgFolder) {
22: Paths.cfgFolder = cfgFolder;
23: }
24:
25: public static String getClsFolder() {
26: return clsFolder;
27: }
28:
29: public static void setClsFolder(String clsFolder) {
30: Paths.clsFolder = clsFolder;
31: }
32:
33: public static String getDbFolder() {
34: return dbFolder;
35: }
36:
37: public static void setDbFolder(String dbFolder) {
38: Paths.dbFolder = dbFolder;
39: }
40:
41: public static String getLibFolder() {
42: return libFolder;
43: }
44:
45: public static void setLibFolder(String libFolder) {
46: Paths.libFolder = libFolder;
47: }
48:
49: public static String getLogFolder() {
50: return logFolder;
51: }
52:
53: public static void setLogFolder(String logFolder) {
54: Paths.logFolder = logFolder;
55: }
56:
57: public static String getPrefix() {
58: return prefix;
59: }
60:
61: public static void setPrefix(String prefix) {
62: Paths.prefix = prefix;
63: }
64:
65: public static String getResFolder() {
66: return resFolder;
67: }
68:
69: public static void setResFolder(String resFolder) {
70: Paths.resFolder = resFolder;
71: }
72: }
|