Package hermes.config

Examples of hermes.config.PropertyConfig


    SortedMap sortMap = new TreeMap();

    if (propertySet.getProperty() != null) {

      for (Iterator iter = propertySet.getProperty().iterator(); iter.hasNext();) {
        PropertyConfig property = (PropertyConfig) iter.next();

        if (!ignore.contains(property.getName())) {
          Object propertyValue = property.getValue();

          if (propertyValue == null) {
            propertyValue = "null";
          }

          sortMap.put(property.getName(), propertyValue);
        }
      }

      for (Iterator iter2 = sortMap.entrySet().iterator(); iter2.hasNext();) {
        Map.Entry entry = (Map.Entry) iter2.next();
View Full Code Here


      String key = (String) row.elementAt(0);
      String value = (String) row.elementAt(1);

      if (key != null && !key.equals("")) {
        PropertyConfig pConfig = HermesBrowser.getConfigDAO().getFactory().createPropertyConfig();

        pConfig.setName(key);
        pConfig.setValue(value);

        list.add(pConfig);
      } else {
        iter.remove();
      }
View Full Code Here

TOP

Related Classes of hermes.config.PropertyConfig

Copyright © 2018 www.massapicom. 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.