[
https://issues.apache.org/jira/browse/VFS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mario Ivankovits resolved VFS-151.
----------------------------------
Resolution: Won't Fix
The FileContentInfo is not meant to be in the responsibility of the FileObject.
Like the "file" command in unix the factory should try to determine the best
FileContentInfo depending on the real FileContent by looking up the first few
bytes and visiting a magic file.
Though, if the FileObject would like to have its own FileContentInfo it could
override AbstractFileObject.getFileContentInfoFactory
> Allow files to return a custom FileContentInfo
> ----------------------------------------------
>
> Key: VFS-151
> URL: https://issues.apache.org/jira/browse/VFS-151
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Adam Heath
> Priority: Minor
> Attachments: feature_FileContentInfo-subclass-overriding.patch
>
>
> See attached patch.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]