Re: GnU mBox
Nic Ferrier <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
Countach <[email protected]> writes: > 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? Patches are always welcome. -- Nic Ferrier http://www.tapsellferrier.co.uk