You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2013/03/07 10:32:13 UTC
[jira] [Updated] (FILEUPLOAD-159) MultipartStream.position method
[ https://issues.apache.org/jira/browse/FILEUPLOAD-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simone Tripodi updated FILEUPLOAD-159:
--------------------------------------
Fix Version/s: (was: 1.3)
> MultipartStream.position method
> -------------------------------
>
> Key: FILEUPLOAD-159
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-159
> Project: Commons FileUpload
> Issue Type: Improvement
> Affects Versions: 1.2.2
> Reporter: Stepan Koltsov
> Attachments: commons-fileupload-position-2008-05-28.diff
>
>
> Attached patch adds MultipartStream.position() method, that returns current position withing InputStream plus offset in buffer. I. e. current parser position.
> Use case is parsing multipart that is stored as file on disk: at first run we read that file and saving part offsets (by calling position() methods). Then we can randomly access all parts without storing parts as separate files on disk.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira