Mario Ivankovits wrote:
I would like to know how you think VFS should resolve filenames relative to another filename.

There is a request to change VFS's current behaviour.

Consider the following root: "file:///my/root/file" and this relative filename "any/child/file"

currently VFS resolve it to "file:///my/root/file/any/child/file"

In FilenameUtils in [io] we use the same as above:
  assertEquals("a" + SEP + "b" + SEP + "f",
               FilenameUtils.concat("a/b/", "f/"));
  assertEquals("a" + SEP + "b" + SEP + "f",
               FilenameUtils.concat("a/b", "f"));


[ ] Use URI style
[X] Keep current behaviour
[ ] Minimum jdk 1.4
[X] Minimum jdk 1.3

Too many people (including large corporations) still use JDK1.3

Stephen

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

Reply via email to