public class MultipartReader extends Object
MultipartReader reads bytes from a connection
and persists mime messages in a file.| Modifier and Type | Class and Description |
|---|---|
class |
MultipartReader.MultipartParserCallback
An implementation of
MimeParserCallback |
| Constructor and Description |
|---|
MultipartReader(Connection connection,
InboundFileTransfer inboundFileTransfer,
File file) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
read() |
MultipartMessage |
readMultipartMessage() |
public MultipartReader(Connection connection, InboundFileTransfer inboundFileTransfer, File file)
public MultipartMessage readMultipartMessage() throws IOException, MalformedMimeException
IOExceptionMalformedMimeExceptionprotected byte[] read()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.