code: public void addResource(Resource resource) throws IOException {
          Properties props = PropertiesLoaderUtils.loadProperties(resource);
          
          for (Entry<?, ?> entry : props.entrySet()) {
              String key = (String) entry.getKey();
              String value = StringEscapeUtils.unescapeJava((String) entry.getValue());
              boolean global = key.startsWith("global.");
              key = global ? key.substring(7) : key;
              
              if (!key.contains(delim)) {
                  key += delim;
              }
              
              (global ? global_map : local_map).put(key, value);
          }
      }
docs: Load property values from a property file. A property values are assumed local unless the
  property name is prefixed with "global.". You may specify an instance name by appending to
  the property name a "\" followed by the instance name. For example:
  
  <pre>
  prop1 = value1
  global.prop2 = value2
  prop3\inst3 = value3
  global.prop4\inst4 = value4
  </pre>
  
  @param resource Property file resource.
  @throws IOException IO exception.