KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > bin > JahiaConfig


1 package org.jahia.bin;
2
3 import java.util.Properties JavaDoc;
4
5 public class JahiaConfig {
6
7     private Properties JavaDoc settings = new Properties JavaDoc();
8
9     public JahiaConfig(){
10     }
11
12     public void setSettings(Properties JavaDoc settings){
13         this.settings = settings;
14     }
15
16     public Properties JavaDoc getSettings(){
17         return this.settings;
18     }
19
20     public String JavaDoc getProperty(String JavaDoc key){
21         return this.settings.getProperty(key);
22     }
23
24 }
25
Popular Tags