|
From: | Countach |
Subject: | [Classpathx-javamail] GnU mBox |
Date: | Thu, 03 Feb 2005 11:22:26 +1100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Further to my email of yesterday about folder names, I noticed this in the java spec for Store class....
name - The name of the Folder.In some Stores, name can be an absolute path if it starts with the hierarchy delimiter.
Else it is interpreted relative to the 'root' of this namespace.This suggests to me that gnu mbox is not conforming as it is. It's not clear what the "hierarchy delimiter" is of mbox, but on windows at least it would appear to be the file name delimiter - backslash \\. That being so, any string passed to getFolder that doesn't start with backslash should be interpreted relative to the root of the namespace. Since windows pathnames start with a drive letter, that means passing an absolute file name in windows should be interpreted relative. Thus mbox is non-conforming.
That to me is further evidence that mbox names shouldn't be the file name but rather the relative name. Anybody disagree?
[Prev in Thread] | Current Thread | [Next in Thread] |