On 17 Feb 2003, <[EMAIL PROTECTED]> wrote:

>   Tighten up contract for resource names.

This is the next step of API cleanup.  This needs some testing on
Windows, it works for Unix, but this is to be expected.

> -              mapper.mapFileName(source[counter].getName()); 
> +              mapper.mapFileName(source[counter].getName() 
> +                                 .replace('/', File.separatorChar));

is necessary for backwards compatibility reasons.

So far FileNameMappers have only been applied to filenames returned
from DirectoryScanner and those names use the platform's directory
separator.

Stefan

Reply via email to