[ http://issues.apache.org/jira/browse/VFS-103?page=all ]
Mark Fortner updated VFS-103: ----------------------------- Attachment: RootFileFactory.java This is a sample implementation for illustration purposes. Feel free to provide a different implementation that fits better with the API. > Add support for Local File System reserved directories > ------------------------------------------------------ > > Key: VFS-103 > URL: http://issues.apache.org/jira/browse/VFS-103 > Project: Commons VFS > Issue Type: New Feature > Reporter: Mark Fortner > Priority: Minor > Attachments: RootFileFactory.java > > > Mac OS X, and Windows has special purpose directories used to organizes > specific types of files. In Mac OS X, these directories include "Documents", > "Movies", "Pictures", "Music"; Windows uses "My Documents", "My Pictures", > "My Videos" and "My Music". > Provide a consistent approach for getting these directories either as a > static factory method, or as individual methods. i.e. something along the > lines of "public static FileObject getRoot(int rootType)" where rootType is > a constant that defines which one of the directorires (specified above) that > you want. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]