commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Illig (JIRA)" <>
Subject [jira] [Created] (VFS-518) Documentation of FileSystemOptions should be more helpful
Date Fri, 04 Apr 2014 14:06:15 GMT
Roland Illig created VFS-518:

             Summary: Documentation of FileSystemOptions should be more helpful
                 Key: VFS-518
             Project: Commons VFS
          Issue Type: Wish
            Reporter: Roland Illig

The Javadoc of {{FileSystemOptions}} currently says:

Container for FileSystemOptions.
You have to use *FileSystemConfigBuilder.getInstance() to fill this container

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:

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.

These few sentences would have helped me a lot in understanding.

This message was sent by Atlassian JIRA

View raw message