incubator-chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@sourcesense.com>
Subject Re: Creating a folder
Date Mon, 10 May 2010 16:57:20 GMT

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 Session.save() at the end?

	Ugo

-- 
Ugo Cei
Sourcesense - making sense of Open Source: http://www.sourcesense.com


Mime
View raw message