You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mark Fortner (JIRA)" <ji...@apache.org> on 2006/12/19 21:27:22 UTC

[jira] Updated: (VFS-103) Add support for Local File System reserved directories

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org