Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Reding a file
Reding a file [message #303416] Mon, 15 May 2006 10:10 Go to next message
Eclipse UserFriend
Is ther an example code snippet dor reading a file in the plugin directory
?
It seems FileInputStream doesn't behave like in the Main class loader.
Re: Reding a file [message #303420 is a reply to message #303416] Mon, 15 May 2006 10:28 Go to previous message
Eclipse UserFriend
URL url = MyPlugin.getDefault().getBundle().getEntry("/path/to/file.txt ");

Then you can get the InputStream from url.

Later,
PW
Previous Topic:Preferences Problem
Next Topic:Re: Launch an Eclipse VIew
Goto Forum:
  


Current Time: Sat May 10 17:03:45 EDT 2025

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

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

Back to the top