[ 
https://issues.apache.org/jira/browse/VFS-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory resolved VFS-518.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

{noformat}
commit -m "<action issue="VFS-518" dev="ggregory" type="update" due-to="Roland 
Illig">..." C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml 
C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
    Sending        
C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
    Sending        
C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1585761.
{noformat}


> Documentation of FileSystemOptions should be more helpful
> ---------------------------------------------------------
>
>                 Key: VFS-518
>                 URL: https://issues.apache.org/jira/browse/VFS-518
>             Project: Commons VFS
>          Issue Type: Wish
>            Reporter: Roland Illig
>              Labels: documentation
>             Fix For: 2.1
>
>
> The Javadoc of {{FileSystemOptions}} currently says:
> {quote}
> Container for FileSystemOptions.
> You have to use *FileSystemConfigBuilder.getInstance() to fill this container
> {quote}
> The first sentence contains no helpful information at all. It should explain 
> that any file system can be configured and illustrate a typical usage using a 
> small code example.
> I _think_ the documentation should look like this:
> {quote}
> File systems can be configured individually using these options.
> To configure a file system, you set certain properties in a 
> {{FileSystemOptions}} object. Most filesystems provide a 
> {{FileSystemConfigBuilder}} that knows the specific options of the file 
> system.
> To use the options, they have to be passed to the 
> {{FileSystemManager.resolveFile()}} method. From there, the options apply to 
> all files that are resolved relative to that file.
> {quote}
> These few sentences would have helped me a lot in understanding.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to