Re: Resource loading

2007-01-07 Thread Igor Vaynberg
yes, sounds cleaner -igor On 1/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Simplifying sounds *very* good to me. Thanks for giving it a try. Eelco On 1/7/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > In an attempt to simplify (more readable) resource loadin

Re: Resource loading

2007-01-07 Thread Eelco Hillenius
Simplifying sounds *very* good to me. Thanks for giving it a try. Eelco On 1/7/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: In an attempt to simplify (more readable) resource loading I - renamed IResourceStreamLocator to IResourceStreamFactory - combined what used

Resource loading

2007-01-07 Thread Juergen Donnerstag
In an attempt to simplify (more readable) resource loading I - renamed IResourceStreamLocator to IResourceStreamFactory - combined what used to be AbstractResourceStreamLocator, ClassResourceStreamLocator, ResourceFinderResourceStreamLocator and CompoundResourceStreamLocator in a single class

Re: Resource loading

2007-01-03 Thread Juergen Donnerstag
o specify the classloader. If that > is true, than we can completely ignore the ClassLoader while loading > resource files. However why did we introduce it than? I guess because > we had resource loading issue which we thought were classloader > related. Has our implementation si

Re: Resource loading

2007-01-03 Thread Johan Compagner
well) use File or URL for that. But neither File nor URL allow you to specify the classloader. If that is true, than we can completely ignore the ClassLoader while loading resource files. However why did we introduce it than? I guess because we had resource loading issue which we thought we

Re: Resource loading

2007-01-02 Thread Juergen Donnerstag
completely ignore the ClassLoader while loading resource files. However why did we introduce it than? I guess because we had resource loading issue which we thought were classloader related. Has our implementation significantly changed since than so that resource loading only now is independent of the

Re: Resource loading

2007-01-01 Thread Johan Compagner
fine by me On 1/1/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: While working on improving resource loading I came across the following issue: IResourceFinder: URL find(String path); xxxResourceStreamLocator: IResourceStream locate(Class, String path) locate(..) { UR

Re: Resource loading

2007-01-01 Thread Igor Vaynberg
sounds good to me -igor On 1/1/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: While working on improving resource loading I came across the following issue: IResourceFinder: URL find(String path); xxxResourceStreamLocator: IResourceStream locate(Class, String path) locate(..) {

Resource loading

2007-01-01 Thread Juergen Donnerstag
While working on improving resource loading I came across the following issue: IResourceFinder: URL find(String path); xxxResourceStreamLocator: IResourceStream locate(Class, String path) locate(..) { URL file = finder.find(path) if (file != null) { IResourceStream stream = new