On Tue, 8 Jul 2003, Conor MacNeill <[EMAIL PROTECTED]>
wrote:

> It turns out this "legacy" code works better than the commented out
> code because it handles spaces in file names (which are otherwise
> rendered as %20)

Yes, the URI handling code in FileUtils is better than the code in the
JDK, at least up to 1.3.  JDK 1.4 with the URI class and File.toURI is
a different beast.

> The first, I intend to replace with (File.pathSeparatorChar ==
> ';'). That should be equivalent except on Netware but I'm not sure
> if Netware should be excluded or not - i.e. is the original code
> based on "dos" correct?

I don't know.  Is Jeff Tulley still around?  Jeff?? 8-)

> 1. Move getClassSource and getResourceSource to Locator from
> LoaderUtils.

Recode them to use Locator + FileUtils.normalize?

would resolve

> 1. getClassSource and getReosurceSource results will not be
> normalized.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to