if (hasContent()) IOUtil.copy(getContent().getInputStream(), true, fileContent.getOutputStream(), true);
Iterator it = deletedAttributes.iterator();
while (it.hasNext()) {
String name = (String) it.next();
if (fileContent.hasAttribute(name)) {
fileContent.removeAttribute(name);
} else {
fileContent.setAttribute(name, null);
}
}
Map defaultAttributes = fileInfo.getDefaultAttributes();