public ManifestResourceBuilder load(Manifest manifest) {
NotNullException.assertValue(manifest, "manifest");
Hashtable<String, String> headers = new Hashtable<String, String>();
Attributes mainatts = manifest.getMainAttributes();
for (Object key : mainatts.keySet()) {
String name = key.toString();
String value = mainatts.getValue(name);
headers.put(name, value);
}
load(headers);