commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Wiedmann (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FILEUPLOAD-158) MultipartStream javadoc example cannot be compiled
Date Sun, 18 Jan 2009 01:56:59 GMT

     [ https://issues.apache.org/jira/browse/FILEUPLOAD-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jochen Wiedmann resolved FILEUPLOAD-158.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Jochen Wiedmann

Applied, thank you!


> MultipartStream javadoc example cannot be compiled
> --------------------------------------------------
>
>                 Key: FILEUPLOAD-158
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-158
>             Project: Commons FileUpload
>          Issue Type: Bug
>            Reporter: Stepan Koltsov
>            Assignee: Jochen Wiedmann
>             Fix For: 1.3
>
>
> {code}
>         MultipartStream multipartStream = new MultipartStream(input,
>                                                               boundary);
>         boolean nextPart = multipartStream.skipPreamble();
>         OutputStream output;
>         while(nextPart) {
>             header = chunks.readHeader();
>             // process headers
>             // create some output stream
>             multipartStream.readBodyPart(output);
>             nextPart = multipartStream.readBoundary();
>         }
> {code}
> "chunks" means "multipartStream"?
> "readHeader" means "readHeaders"?
> header variable should be declared
> "readBodyPart" means "readBodyData"?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message