|FileStore extension - difference between new file and folder [message #973832]
||Tue, 06 November 2012 17:01
| Michael Remme
Registered: October 2012
currently i am developing an own implementation of FileStore, additionally i extended org.eclipse.ui.ide.filesystemSupport, so that i am able to work on my filesystem in eclipses standard NewFileWizzards. That way i am able to add new files or folders into my filesystem.|
The question i have is: how can i programatically decide, wether the user choose the creation of a new file or a new folder? ( my fs is not using suffixes in files ).
I saw, that the creation of new directories is calling the mkdir, where the creation of new files is calling openOutputStream.
Is that the only and preferred way to decide?
[Updated on: Wed, 07 November 2012 12:33]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.07452 seconds