Looking at the strawman version 0.3 raised the following question. Graeme -3.32 Does SAGA.File.Directory require a close method? The close() method is required by SAGA.File.File, but I cannot see the purpose for this method in the Directory object.
Hmm, good point. I am not sure about that though. We agreed on including close () to allow to close files before destruction (originally we had close implicitely to destruction, but that makes trouble in Java as it is impossible to tell when the garbage collector is actually going to destroy the object instance. I guess the same holds for directories, although the issue seems not that problematic there (no locks, no write conflicts etc). My 2cents, Andre. Quoting [Graeme Pound] (Feb 23 2006):
Looking at the strawman version 0.3 raised the following question.
Graeme
-3.32 Does SAGA.File.Directory require a close method? The close() method is required by SAGA.File.File, but I cannot see the purpose for this method in the Directory object.
-- "So much time, so little to do..." -- Garfield
participants (2)
-
Andre Merzky
-
Graeme Pound