public class MultipartRelatedInputImpl extends MultipartInputImpl implements MultipartRelatedInput
MultipartRelatedInput
by extending
MultipartInputImpl
and adding multipart/related functionality.MultipartInputImpl.PartImpl
contentType, defaultPartCharset, defaultPartContentType, empty, mimeMessage, parts, savedProviders, workers
Constructor and Description |
---|
MultipartRelatedInputImpl(MediaType contentType,
Providers workers) |
Modifier and Type | Method and Description |
---|---|
protected InputPart |
extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) |
Map<String,InputPart> |
getRelatedMap() |
InputPart |
getRootPart() |
String |
getStart()
A start parameter is not mandatory in a message.
|
String |
getStartInfo()
Optional.
|
String |
getType()
The type parameter as it was read from the content-type header of the
multipart/related message.
|
void |
parse(InputStream is) |
addHeaderToHeadlessStream, close, createHeaderInputStream, extractParts, finalize, getCharset, getParts, getPreamble, main, setProviders
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getParts, getPreamble
public void parse(InputStream is) throws IOException
parse
in class MultipartInputImpl
IOException
protected InputPart extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) throws IOException
extractPart
in class MultipartInputImpl
IOException
public Map<String,InputPart> getRelatedMap()
getRelatedMap
in interface MultipartRelatedInput
public InputPart getRootPart()
getRootPart
in interface MultipartRelatedInput
public String getStart()
MultipartRelatedInput
getStart
in interface MultipartRelatedInput
public String getStartInfo()
MultipartRelatedInput
getStartInfo
in interface MultipartRelatedInput
public String getType()
MultipartRelatedInput
getType
in interface MultipartRelatedInput
Copyright © 2016 JBoss by Red Hat. All rights reserved.