Examples of JarEntryDirectory


Examples of org.eclipse.jdt.internal.core.JarEntryDirectory

    Manifest result = null;
    final Object[] nonJavaResources = packageFragmentRoot.getNonJavaResources();

    for (Object obj : nonJavaResources) {
      if (obj instanceof JarEntryDirectory) {
        final JarEntryDirectory jarEntryDirectory = (JarEntryDirectory) obj;
        final IJarEntryResource[] jarEntryResources = jarEntryDirectory.getChildren();
        for (IJarEntryResource jarEntryResource : jarEntryResources) {
          if ("MANIFEST.MF".equals(jarEntryResource.getName())) {
            try {
              final InputStream stream = jarEntryResource.getContents();
              result = new Manifest(stream);
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.