List of usage examples for org.eclipse.jdt.internal.core JarEntryResource getFullPath
@Override
public IPath getFullPath()
From source file:org.eclipse.che.plugin.java.server.JavaNavigation.java
License:Open Source License
private JarEntry getJarEntryResource(JarEntryResource resource) { JarEntry entry = DtoFactory.getInstance().createDto(JarEntry.class); if (resource instanceof JarEntryDirectory) { entry.setType(JarEntryType.FOLDER); }//from ww w . jav a 2 s . c o m if (resource instanceof JarEntryFile) { entry.setType(JarEntryType.FILE); } entry.setName(resource.getName()); entry.setPath(resource.getFullPath().toOSString()); return entry; }