commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FILEUPLOAD-158) MultipartStream javadoc example cannot be compiled
Date Mon, 05 Jun 2017 13:52:04 GMT

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

Rob Tompkins closed FILEUPLOAD-158.
-----------------------------------

Released

> 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.2.2
>
>
> {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 was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message