chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <>
Subject RE: Creating a folder
Date Mon, 10 May 2010 17:56:49 GMT
You can use session.getDefaultContext() or create your own one. The Session class has factory
Currently, does nothing. It will be become important when we implement transient
sessions. See [1] for details.



-----Original Message-----
From: Ugo Cei [] 
Sent: Montag, 10. Mai 2010 18:57
Subject: Re: Creating a folder

On May 10, 2010, at 6:03 PM, Florian Müller wrote:

> That's one valid way to do it.
> The Folder class also has a createFolder() method. It would save you one line if you
would use that instead of the one provided by the Session class. ;-)

Folder.createFolder takes one more argument, though: an OperationContext. I guess I should
get one from session.getDefaultContext(), right?

And one more thing: is it recommended to always call at the end?


Ugo Cei
Sourcesense - making sense of Open Source:

View raw message