Really just a detail.
> I think it would be better to let the File() ctor create and handle the
> aspect of relative files. I.e.
> if (dirName.length() == 0)
> dirName = null;
> File dir = new File(dirName, name);
> It is not well defined, what will happen if the dirName == "", but a
> null directory value will create a relative file.
Reading the sun docs:
The contrary seems true, at least for java2. So that "" is the right choice
to get a "rel" dir.
But my fear is really for java1.1 and the Macs.
The old sun jdk1.1 doc is mostly unclear.