public interface BodyDescriptorBuilder
Description:
Title:首亨软件 - TSS/CRM等
限定符和类型 | 方法和说明 |
---|---|
Field |
addField(RawField field)
Updates builder's internal state by adding a new field.
|
BodyDescriptor |
build()
Builds an instance of
BodyDescriptor based on the internal state. |
BodyDescriptorBuilder |
newChild()
Creates an instance of
BodyDescriptorBuilder to be used for processing of an
embedded content body. |
void |
reset()
Resets the internal state of the builder making it ready to process new input.
|
void reset()
Field addField(RawField field) throws MimeException
Field
that also implements a richer interface for a particular type
of fields such as Content-Type
. The builder can also return null
if the field is to be ignored.field
- RawFieldMimeException
- MimeExceptionBodyDescriptor build()
BodyDescriptor
based on the internal state.BodyDescriptorBuilder newChild()
BodyDescriptorBuilder
to be used for processing of an
embedded content body. Please the child instance can inherit some of its parent properties
such as MIME type.