229230231232233234235236237238239
if (cached) { Properties unknown = dflt.getUnknown(); if (!unknown.isEmpty()) System.err.println("WARN: unknown keys " + unknown.keySet() + " in defaults for " + loc); } return dflt; }
243244245246247248249250251252253
if (sysOverrides == null) { sysOverrides = new Properties(); Properties sysProps = System.getProperties(); for (Object okey : sysProps.keySet()) { String key = (String) okey; if (key.startsWith(OVERRIDE_PREFIX)) { sysOverrides.setProperty(key.substring(OVERRIDE_PREFIX.length()),
666667668669670671672673674675676
if ( repo.isEmpty() ) { // XXX getProps returns and empty props vs null if not found? return null; } for (Object k : repo.keySet()) { String key = (String) k; String value = repo.getProperty(key); repo.setProperty(key, BldUtil.expand(value, bp)); }
399400401402403404405406407408409
} for (String key : property.keySet()) { Properties props = property.get(key); for (Object k2 : props.keySet()) { p.put(prefix + key + SUBKEY_SEP + k2, props.get(k2)); } }
557558559560561562563564565566567
unkProps.setProperty(M_IMPORTS, ""); if (config2.map.containsKey(M_REQUIRES)) unkProps.setProperty(M_REQUIRES, ""); for (Object unk : unkProps.keySet()) { unknown.setProperty(subKey + SUBKEY_SEP + unk, ""); } config.put(subKey, config2); }
9293949596979899100101102
} private static void dumpSystemProperties() { System.out.println("SYSTEM PROPERTIES:"); Properties properties = System.getProperties(); TreeSet<Object> sortedSet = new TreeSet<Object>(properties.keySet()); for(Object object : sortedSet) { if(!"line.separator".equals(object)) { System.out.println(" " + object + "=" + System.getProperty((String)object)); } }
4344454647484950515253
public void printConfiguration( PrintWriter printWriter ) { Properties props = System.getProperties(); SortedSet keys = new TreeSet( props.keySet() ); for ( Iterator ki = keys.iterator(); ki.hasNext(); ) { Object key = ki.next(); ConfigurationRender.infoLine( printWriter, null, ( String ) key, props.get( key ) ); }
185186187188189190191192193194195
for(int i=0;i<newSettings.length;i++){ if(newSettings[i].getId().equalsIgnoreCase("dojo")){ Properties dojoValidationProps = this.getDojoValidationProperties(); String path = newSettings[i].getVirtualRoot(); Set<Object> keySet = dojoValidationProps.keySet(); Iterator<Object> itr = keySet.iterator(); String[] regexes = { //pattern 1
202203204205206207208209210211212
in = ReportUtil.getInputStreamFromFile(file); Properties prop = new Properties(); prop.load(in); Iterator<Object> keys = prop.keySet().iterator(); while(keys.hasNext()) { String key = (String)keys.next();
1516171819202122232425
layout.setMargin(true); setContent(layout); Properties params = getSession().getConfiguration().getInitParameters(); for (Object key : params.keySet()) { layout.addComponent(new Label(key + ": " + params.getProperty((String) key))); } } }