classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-javamail] GnU mBox


From: Nic Ferrier
Subject: Re: [Classpathx-javamail] GnU mBox
Date: Thu, 03 Feb 2005 00:35:58 +0000

Countach <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]