MultipartStream.position method
-------------------------------

                 Key: FILEUPLOAD-159
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-159
             Project: Commons FileUpload
          Issue Type: Improvement
    Affects Versions: Nightly Builds
            Reporter: Stepan Koltsov


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to