commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <>
Subject [jira] [Commented] (FILEUPLOAD-159) MultipartStream.position method
Date Mon, 11 Mar 2013 14:25:13 GMT


Simone Tripodi commented on FILEUPLOAD-159:

[~yozh] any chance you can resubmit a cleaner patch applying []'s
observations and without refactoring existing methods? TIA!
> MultipartStream.position method
> -------------------------------
>                 Key: FILEUPLOAD-159
>                 URL:
>             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:

View raw message