Examples of DummyParserLogger


Examples of com.springsource.util.osgi.manifest.parse.DummyParserLogger

    Set<SystemPackage> exportPackages = null;
    final Manifest manifest = jarFile.getManifest();
    if (manifest != null) {
      final Map<String, String> contents = convertAttributesToMap(manifest.getMainAttributes());
      try {
        final BundleManifest bundleManifest = new StandardBundleManifest(new DummyParserLogger(), contents);
        if (bundleManifest.getBundleName() != null) {
          final List<ExportedPackage> exportedPackages = bundleManifest.getExportPackage().getExportedPackages();
          exportPackages = new LinkedHashSet<SystemPackage>(exportedPackages.size());
          for (final ExportedPackage exportedPackage : exportedPackages) {
            final SystemPackage exportPackage = new SystemPackage(exportedPackage.getPackageName(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.