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
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
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
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
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
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
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
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(..)
{
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