[
https://issues.apache.org/jira/browse/VFS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495738
]
Adam Heath commented on VFS-151:
--------------------------------
I have a FlatFileSystem. This stores attributes for file 'foo' as
'foo@/attr-name'. I make use of 2 attributes, for FileContentInfo support,
'content-type' and 'content-encoding'. Implementing a factory, just this,
seemed a waste; this actually seemed easier to do.
However, I do see how this could be done, using the factory. I'll rewrite my
code.
> 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]