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.