commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Koltsov (JIRA)" <j...@apache.org>
Subject [jira] Created: (FILEUPLOAD-158) MultipartStream javadoc example cannot be compiled
Date Wed, 28 May 2008 15:59:45 GMT
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


{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