| Going Insane [message #315717] |
Tue, 22 May 2007 07:22  |
Eclipse User |
|
|
|
Originally posted by: dkrebs.tibco.com
Someone, I beg please help, this is driving me crazy. All I'm trying to do
is get an InputStream from a resource that is inside one of my plugins.
For example say I have the resource path of
com.mycompany.mybundle/files/myfile.xml, how would I get an InputStream
from that? I've tried getResourceAsStream() on the bundle class loader but
that does not work, I can get a URL using the bundle.getEntry(), but don't
know how to go from a URL to an inputstream. This has to be totally simple
but I'm not seeing it. Can anyone point me in the right direction?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03952 seconds