Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958422

LadyLucky
stranger


Reged: 08/10/03
Posts: 22
Neat.. .also can extend to loading from a class
      08/25/03 10:19 PM

Great article, I am incorporating this code into our app as I type this.

Question: The way I understand it, loading from a class (as in Class.getResource()) works slightly differently to the classloader, even for that class. So if I have a resource bundled in my package, then I want to load it from the class?

So I think this could be extended to have something like:

class:com.acme.widgets.MyWidget/MyResource.xml

yes? Though then you have to worry about how to load that class. You almost need a URL just for the class :-)

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Neat.. .also can extend to loading from a class LadyLucky 08/25/03 10:19 PM
. * * Re: Neat.. .also can extend to loading from a class vlad_roubtsov   08/26/03 01:14 PM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 11060

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5