Examples of JarEntryFile


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

                        if (obj[i] instanceof IFile) {
                            IFile file = (IFile) obj[i];
                            documents.add(file);
                        }
                        else if (obj[i] instanceof JarEntryFile) {
                          JarEntryFile jef = (JarEntryFile) obj[i];
                          documents.add(jef);
                          //System.out.println(jef.getFullPath().makeAbsolute());
                          //System.out.println(jef.getFullPath().makeRelative());
                          //IPath path = jef.getFullPath();
                          //System.out.println(path);
View Full Code Here

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

        }
        else if (input instanceof ZipEntryEditorInput) {
          resource = (IFile) ((ZipEntryEditorInput) input).getAdapter(IFile.class);
        }
        else if (input instanceof JarEntryEditorInput) {
          JarEntryFile jarFile = (JarEntryFile) ((JarEntryEditorInput) input).getStorage();
          IPackageFragmentRoot jarPackageFragmentRoot = jarFile.getPackageFragmentRoot();
          resource = jarPackageFragmentRoot.getJavaProject().getProject().getFile(".project");
        }
      }
    }
    return resource;
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.