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:25:21 UTC

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

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


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


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

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VFS-103?page=comments#action_12459758 ] 
            
Mario Ivankovits commented on VFS-103:
--------------------------------------

I see what you have done and I am pretty sure it works for you.

But (IMHO) for a library this approach is not sufficient. You can move these folders to virtually any place AND, as far as I know, they differ from system to system in name depending on the OS language.

At least you have to lookup those paths through the registry (on windows).
I think there is no way around in using a native library.

> 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


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

Posted by "Mark Fortner (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Ivankovits resolved VFS-103.
----------------------------------

    Resolution: Won't Fix

> Add support for Local File System reserved directories
> ------------------------------------------------------
>
>                 Key: VFS-103
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org