Collection entries = contributors.values();
outputContributors.writeInt(entries.size());
for (Iterator i = entries.iterator(); i.hasNext();) {
RegistryContributor contributor = (RegistryContributor) i.next();
writeStringOrNull(contributor.getActualId(), outputContributors);
writeStringOrNull(contributor.getActualName(), outputContributors);
writeStringOrNull(contributor.getId(), outputContributors);
writeStringOrNull(contributor.getName(), outputContributors);
}
outputContributors.flush();
fosContributors.getFD().sync();
outputContributors.close();