Re: protocol question
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 06:10:53 GMT
On Sat, 29 Oct 2005 14:59:38 -0400, "Rhino"
<no.offline.contact.please@xxxxxxxxxx> wrote, quoted or indirectly
quoted someone who said :
>If I only stored "Images/foo.gif" in config file, someone looking at the
>code would have to *INFER* that it was in a jar and was going to be obtained
>via this.getClass().getResource().
Experienced Java programmers all know what a resource is, and are used
to adjusting file locations external to the program to have them still
considered resources in different contexts, e.g. debugging, running
locally, running on a server, running as an Applet.
If you start monkeying with that, you are going to cause 100 times as
much confusion as you imagine you are avoiding.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: protocol question
- From: Rhino
- Re: protocol question
- References:
- Jar: protocol question
- From: Rhino
- Re: protocol question
- From: Ben_
- Jar: protocol question
- Prev by Date: Re: protocol question
- Next by Date: Re: Algorithm
- Previous by thread: Re: protocol question
- Next by thread: Re: protocol question
- Index(es):