Java Properties createScriptBodyFromScriptSet(Properties scriptSet)

Here you can find the source of createScriptBodyFromScriptSet(Properties scriptSet)

Description

create Script Body From Script Set

License

Open Source License

Declaration

public static String createScriptBodyFromScriptSet(Properties scriptSet) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static String createScriptBodyFromScriptSet(Properties scriptSet) {
        StringBuffer sb = new StringBuffer();
        for (Enumeration scriptKeys = scriptSet.keys(); scriptKeys.hasMoreElements();) {
            String scriptKey = (String) scriptKeys.nextElement();
            sb.append(scriptSet.get(scriptKey));
        }/*w  ww.jav a2 s.c  o m*/

        return sb.toString();
    }
}

Related

  1. convertBundleToProperties(ResourceBundle rb)
  2. convertResourceBundleToProperties(ResourceBundle resource)
  3. differentKeys(Properties p1, Properties p2)
  4. equalProps(Properties p1, Properties p2)
  5. extractFromPropertiesAsList(String prefix, Properties properties)
  6. extractFromPropertiesAsMap(String prefix, Properties properties)