private void addManifestPackage(String name,Attributes attr){
  if (!name.endsWith("/") && !name.equals(""))   return;
  String specTitle=attr.getValue("Specification-Title");
  String specVersion=attr.getValue("Specification-Version");
  String specVendor=attr.getValue("Specification-Vendor");
  String implTitle=attr.getValue("Implementation-Title");
  String implVersion=attr.getValue("Implementation-Version");
  String implVendor=attr.getValue("Implementation-Vendor");
  if (specTitle == null && specVersion == null && specVendor != null && implTitle == null && implVersion == null && implVendor != null)   return;
  ClassPackage pkg=new ClassPackage(name);
  pkg.setSpecificationTitle(specTitle);
  pkg.setSpecificationVersion(specVersion);
  pkg.setSpecificationVendor(specVendor);
  pkg.setImplementationTitle(implTitle);
  pkg.setImplementationVersion(implVersion);
  pkg.setImplementationVendor(implVendor);
  _packages.add(pkg);
}

private void addManifestPackage ( String name , Attributes attr ) { if ( ! name . endsWith ( "/" ) && ! name . equals ( "" ) ) return ; String specTitle = attr . getValue ( "Specification-Title" ) ; String specVersion = attr . getValue ( "Specification-Version" ) ; String specVendor = attr . getValue ( "Specification-Vendor" ) ; String implTitle = attr . getValue ( "Implementation-Title" ) ; String implVersion = attr . getValue ( "Implementation-Version" ) ; String implVendor = attr . getValue ( "Implementation-Vendor" ) ; if ( specTitle == null && specVersion == null && specVendor != null && implTitle == null && implVersion == null && implVendor != null ) return ; ClassPackage pkg = new ClassPackage ( name ) ; pkg . setSpecificationTitle ( specTitle ) ; pkg . setSpecificationVersion ( specVersion ) ; pkg . setSpecificationVendor ( specVendor ) ; pkg . setImplementationTitle ( implTitle ) ; pkg . setImplementationVersion ( implVersion ) ; pkg . setImplementationVendor ( implVendor ) ; _packages . add ( pkg ) ; }
adds package information from the manifest .
