public void add(String entry) throws JarException {
  MessageHeader mh=manifest.getEntry(entry);
  if (mh == null) {
    throw new JarException("entry " + entry + " not in manifest");
  }
  MessageHeader smh;
  try {
    smh=computeEntry(mh);
  }
 catch (  IOException e) {
    throw new JarException(e.getMessage());
  }
  entries.addElement(smh);
}

public void add ( String entry ) throws JarException { MessageHeader mh = manifest . getEntry ( entry ) ; if ( mh == null ) { throw new JarException ( "entry " + entry + " not in manifest" ) ; } MessageHeader smh ; try { smh = computeEntry ( mh ) ; } catch ( IOException e ) { throw new JarException ( e . getMessage ( ) ) ; } entries . addElement ( smh ) ; }
add a specific entry from the current manifest .
