1 package org.javabb.vh; 2 3 import org.javabb.infra.ConfigurationFactory; 4 5 20 21 26 public class ForumConfig { 27 28 31 public String getDomain() { 32 return ConfigurationFactory.getConf().domain; 33 } 34 37 public String getForumName() { 38 return ConfigurationFactory.getConf().forumName; 39 } 40 43 public String getLang() { 44 return ConfigurationFactory.getConf().lang; 45 } 46 49 public String getTheme() { 50 return ConfigurationFactory.getConf().theme; 51 } 52 55 public String getDateFormat() { 56 return ConfigurationFactory.getConf().dateFormat; 57 } 58 61 public String getPostsPage() { 62 return ConfigurationFactory.getConf().postsPage.toString(); 63 } 64 67 public String getTimeFormat() { 68 return ConfigurationFactory.getConf().timeFormat; 69 } 70 73 public String getTopicsPage() { 74 return ConfigurationFactory.getConf().topicsPage.toString(); 75 } 76 79 public String getButtonLang() { 80 return ConfigurationFactory.getConf().buttonLang.toString(); 81 } 82 85 public String getNotifyTopic() { 86 return ConfigurationFactory.getConf().emailNofityTopic.toString(); 87 } 88 91 public String getSmtpHost() { 92 return ConfigurationFactory.getConf().smtpServerHost; 93 } 94 97 public String getSmtpPassword() { 98 return ConfigurationFactory.getConf().smtpServerUserPassword; 99 } 100 103 public String getSmtpUser() { 104 return ConfigurationFactory.getConf().smtpServerUserName; 105 } 106 109 public String getAdminMail() { 110 return ConfigurationFactory.getConf().adminMail; 111 } 112 115 public String getFloodControl() { 116 return ConfigurationFactory.getConf().floodControl; 117 } 118 119 public String getForumAnnounceText() { 120 return ConfigurationFactory.getConf().forumAnnounceText; 121 } 122 } 123 | Popular Tags |