You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jochen Wiedmann (JIRA)" <ji...@apache.org> on 2009/01/18 02:56:59 UTC

[jira] Resolved: (FILEUPLOAD-158) MultipartStream javadoc example cannot be compiled

     [ 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.