Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Retrieve JarEntryFile from jar
Retrieve JarEntryFile from jar [message #628987] Sat, 25 September 2010 15:10 Go to next message
bachra04  is currently offline bachra04 Friend
Messages: 148
Registered: April 2010
Senior Member
Hi experts,

I need to retrieve the IJarEntryFile from a jar file.
Is there any sample code on how to do that ?
It is mentioned that I can use JarPackageFragmentRoot ,

Sample code would definitely help.

Thanks,
Re: Retrieve JarEntryFile from jar [message #629177 is a reply to message #628987] Mon, 27 September 2010 12:32 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
bachra04 wrote:
> Hi experts,
>
> I need to retrieve the IJarEntryFile from a jar file.
> Is there any sample code on how to do that ?
> It is mentioned that I can use JarPackageFragmentRoot ,
See org.eclipse.jdt.core.IPackageFragment.getNonJavaResources() and
org.eclipse.jdt.core.IPackageFragmentRoot.getNonJavaResource s().

Dani
>
> Sample code would definitely help.
> Thanks,
>
Re: Retrieve JarEntryFile from jar [message #630166 is a reply to message #629177] Thu, 30 September 2010 21:04 Go to previous message
bachra04  is currently offline bachra04 Friend
Messages: 148
Registered: April 2010
Senior Member
Thanks that answers my question.
Previous Topic:adding popup menu and actions programmatically
Next Topic:Scrapbook not working
Goto Forum:
  


Current Time: Thu Sep 26 12:42:20 GMT 2024

Powered by FUDForum. Page generated in 0.03206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top