/** * Creates a new manifest entry (attributes) for the given name */ public void addEntry(String entryName) { Attributes attr = new Attributes(); addEntry(entryName, attr); }
/** * Adds the key/value pair to the attributes for the given entry name; if the entry does not * exist, creates a new attributes */ public void addEntryAttribute(String entryName, String key, String value) { Attributes attr = getAttributes(entryName); if (attr == null) addEntry(entryName); attr = getAttributes(entryName); attr.putValue(key, value); }