Package com.github.diamond.client.config

Examples of com.github.diamond.client.config.PropertiesReader.nextProperty()


  public void load(Reader in, boolean reload) throws ConfigurationRuntimeException {
    Map<String, String> tmpStore = new LinkedHashMap<String, String>();
   
    PropertiesReader reader = new PropertiesReader(in);
    try {
      while (reader.nextProperty()) {
        String key = reader.getPropertyName();
        String value = reader.getPropertyValue();
        tmpStore.put(key, value);
        if(reload) {
          String oldValue = store.remove(key);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.