Examples of nameSet()


Examples of net.infopeers.restrant.Params.nameSet()

  public void search() throws Exception {
    PrintWriter w = getResponse().getWriter();
    w.println("SEARCH\n");

    Params params = getParams();
    for (String name : params.nameSet()) {
      w.println(name + ":" + params.get(name) + "\n");
    }
  }

}
View Full Code Here

Examples of org.apache.poi.hpsf.CustomProperties.nameSet()

        text.append( getPropertiesText(dsi) );

        // Now custom ones
        CustomProperties cps = dsi == null ? null : dsi.getCustomProperties();
        if (cps != null) {
            Iterator<String> keys = cps.nameSet().iterator();
            while (keys.hasNext()) {
                String key = keys.next();
                String val = HelperPropertySet.getPropertyValueText( cps.get(key) );
                text.append(key + " = " + val + "\n");
            }
View Full Code Here

Examples of org.apache.poi.hpsf.CustomProperties.nameSet()

    text.append( getPropertiesText(dsi) );

    // Now custom ones
    CustomProperties cps = dsi == null ? null : dsi.getCustomProperties();
    if(cps != null) {
      Iterator<String> keys = cps.nameSet().iterator();
      while(keys.hasNext()) {
        String key = keys.next();
        String val = getPropertyValueText( cps.get(key) );
        text.append(key + " = " + val + "\n");
      }
View Full Code Here

Examples of org.apache.poi.hpsf.CustomProperties.nameSet()

    text.append( getPropertiesText(dsi) );

    // Now custom ones
    CustomProperties cps = dsi == null ? null : dsi.getCustomProperties();
    if(cps != null) {
      Iterator<String> keys = cps.nameSet().iterator();
      while(keys.hasNext()) {
        String key = keys.next();
        String val = getPropertyValueText( cps.get(key) );
        text.append(key + " = " + val + "\n");
      }
View Full Code Here

Examples of org.apache.poi.hpsf.CustomProperties.nameSet()

    text.append( getPropertiesText(dsi) );

    // Now custom ones
    CustomProperties cps = dsi == null ? null : dsi.getCustomProperties();
    if(cps != null) {
      Iterator<String> keys = cps.nameSet().iterator();
      while(keys.hasNext()) {
        String key = keys.next();
        String val = getPropertyValueText( cps.get(key) );
        text.append(key + " = " + val + "\n");
      }
View Full Code Here

Examples of org.keycloak.freemarker.ThemeProvider.nameSet()

    private void setThemes(ServerInfoRepresentation info) {
        ThemeProvider themeProvider = session.getProvider(ThemeProvider.class, "extending");
        info.themes = new HashMap<String, List<String>>();

        for (Theme.Type type : Theme.Type.values()) {
            List<String> themes = new LinkedList<String>(themeProvider.nameSet(type));
            Collections.sort(themes);

            info.themes.put(type.toString().toLowerCase(), themes);
        }
    }
View Full Code Here

Examples of org.tmatesoft.svn.core.SVNProperties.nameSet()

            }
            cp = (ChangePath[]) clientChangePaths.toArray(new ChangePath[clientChangePaths.size()]);
        }
        SVNProperties revisionProperties = logEntry.getRevisionProperties();
        Map revisionPropertiesMap = new HashMap();
        for(Iterator names = revisionProperties.nameSet().iterator(); names.hasNext();) {
            String name = (String) names.next();
            revisionPropertiesMap.put(name, revisionProperties.getStringValue(name));
        }
        handler.singleMessage(cp, logEntry.getRevision(), revisionPropertiesMap, logEntry.hasChildren());
    }
View Full Code Here

Examples of org.tmatesoft.svn.core.SVNProperties.nameSet()

                if (propValue != null) {
                    myPropHandler.handleProperty(path, new SVNPropertyData(myPropName, propValue, getOptions()));
                }
            } else {
                SVNProperties allProps = properties.asMap();
                for (Iterator names = allProps.nameSet().iterator(); names.hasNext();) {
                    String name = (String) names.next();
                    SVNPropertyValue val = allProps.getSVNPropertyValue(name);
                    myPropHandler.handleProperty(path, new SVNPropertyData(name, val, getOptions()));
                }
            }
View Full Code Here

Examples of org.tmatesoft.svn.core.SVNProperties.nameSet()

            SVNVersionedProperties oldBaseProps = adminArea.getBaseProperties(fileEntry.getName());
            SVNProperties baseMap = oldBaseProps.asMap();
            if (modifiedProps == null) {
                modifiedProps = new SVNProperties();
            }
            for(Iterator names = baseMap.nameSet().iterator(); names.hasNext();) {
                String propName = (String) names.next();
                if (!modifiedProps.containsName(propName)) {
                    modifiedProps.put(propName, SVNPropertyValue.create(null));
                }
            }
View Full Code Here

Examples of org.tmatesoft.svn.core.SVNProperties.nameSet()

                            os.write(')');
                            os.write(' ');
                        }
                    } else if (item instanceof SVNProperties && ch == 'l') {
                        SVNProperties props = (SVNProperties) item;
                        for (Iterator iterator = props.nameSet().iterator(); iterator.hasNext();) {
                            String name = (String) iterator.next();
                            SVNPropertyValue value = props.getSVNPropertyValue(name);
                            os.write('(');
                            os.write(' ');
                            os.write(Integer.toString(name.getBytes("UTF-8").length).getBytes("UTF-8"));
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.