Looked into this a little. Class.getResource passes work off to
ClassLoader.getResource which passes it off beyond sources available to
me. I looked at ClassLoader.getResource documentation and to my
suprise it said that the path passed in is to be "/" seperated because
these things are done via URL and not file path. Here is link to
documentation:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResource(j
ava.lang.String)
I believe this means my second email recommeding File's separator is
incorrect and that "/" is to be used according to documentaiton.
Thanks for pointing to this Roedy; I wouldn't have given it more
thought without your message.
Opalinski
opalpa@gmail.com
http://www.geocities.com/opalpaweb/
On 15 Jan 2006 15:34:38 -0800, "opalpa@gmail.com opalinski from
opalpaweb" <opalpa@gmail.com> wrote, quoted or indirectly quoted
someone who said :
>Thanks for pointing to this Roedy; I wouldn't have given it more
>thought without your message.
I will reask the question in terms of new File( ). Will it take "/"
on every platform?

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Allan Bruce - 16 Jan 2006 00:54 GMT
> On 15 Jan 2006 15:34:38 -0800, "opalpa@gmail.com opalinski from
> opalpaweb" <opalpa@gmail.com> wrote, quoted or indirectly quoted
[quoted text clipped - 5 lines]
> I will reask the question in terms of new File( ). Will it take "/"
> on every platform?
From what I know, yes that should work. I remember reading something
stating this but cant for the life of me find it now...
Allan