示例#1
0
 public boolean setProperties(Map<String, Object> properties) {
   boolean modified = false;
   for (String s : properties.keySet()) {
     if (props.hasProperty(s)) {
       if (props.getProperty(s) != properties.get(s)) modified = true;
     } else modified = true;
   }
   if (modified) props = new DynamicPropertiesContainer(properties);
   return modified;
 }
示例#2
0
 public Object getProperty(String name) {
   return props.getProperty(name);
 }
示例#3
0
 public Object getProperty(String key) {
   return personalProperties.getProperty(key);
 }