public void putAll(Map<String, String> additional, boolean force) { for (Iterator<Map.Entry<String, String>> i = additional.entrySet().iterator(); i.hasNext();) { Map.Entry<String, String> entry = i.next(); if (force || getProperties().get(entry.getKey()) == null) setProperty((String) entry.getKey(), (String) entry.getValue()); } }
public void putAll(Map<String, String> additional, boolean force) { for (Iterator<Map.Entry<String, String>> i = additional.entrySet() .iterator(); i.hasNext();) { Map.Entry<String, String> entry = i.next(); if (force || getProperties().get(entry.getKey()) == null) setProperty((String) entry.getKey(), (String) entry.getValue()); } }
public void setBase(File file) { super.setBase(file); getProperties().put("project.dir", getBase().getAbsolutePath()); }
public void setBase(File file) { super.setBase(file); getProperties().put("project.dir", getBase().getAbsolutePath()); }
protected void begin() { super.begin(); updateModified(getBndLastModified(), "bnd last modified"); String doNotCopy = getProperty(DONOTCOPY); if (doNotCopy != null) Analyzer.doNotCopy = Pattern.compile(doNotCopy); verifyManifestHeadersCase(getProperties()); }
protected void begin() { if (inited == false) { inited = true; super.begin(); updateModified(getBndLastModified(), "bnd last modified"); verifyManifestHeadersCase(getProperties()); } }
Map<String, Map<String, String>> namesection = parseHeader(getProperties().getProperty( NAMESECTION)); Set<Entry<Instruction, Map<String, String>>> instructions = Instruction
main.remove(BUNDLE_CLASSPATH); for (Enumeration<?> h = getProperties().propertyNames(); h .hasMoreElements();) { String header = (String) h.nextElement(); if (header.trim().length() == 0) { warning("Empty property set with value: " + getProperties().getProperty(header)); continue;
for (Enumeration<?> h = getProperties().propertyNames(); h.hasMoreElements();) { String header = (String) h.nextElement(); if (header.trim().length() == 0) { warning("Empty property set with value: " + getProperties().getProperty(header)); continue;