Niklas Gustavsson wrote:
On Thu, Mar 5, 2009 at 8:55 PM, Emmanuel Lecharny <[email protected]> wrote:
i'm pretty sure I tested it, and the getCanonicalPath() keeps the name which
as been used on HSF+.
Could you please clarify that? If a file exists with the name "foo",
and we call new File("FOO").getCanonicalPath(), what casing will it
return?
new File("FOO").getCanonicalPath() --> foo if the foo file exists.
new File("FOO").getCanonicalPath() --> FOO if the foo file does not exist.
In other words, it returns the existing name, or the new name.
/niklas
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org