public interface FieldBuilder
Description:
Title:首亨软件 - TSS/CRM等
限定符和类型 | 方法和说明 |
---|---|
void |
append(ByteArrayBuffer line)
Updates builder's internal state by adding a new line of text.
|
RawField |
build()
Builds an instance of
RawField based on the internal state. |
ByteArrayBuffer |
getRaw()
Returns combined content of all lines processed so far or
null
if the builder does not retain original raw content. |
void |
reset()
Resets the internal state of the builder making it ready to process new input.
|
void reset()
void append(ByteArrayBuffer line) throws MimeException
line
- ByteArrayBufferMimeException
- MimeExceptionRawField build() throws MimeException
RawField
based on the internal state.MimeException
- MimeExceptionByteArrayBuffer getRaw()
null
if the builder does not retain original raw content.