接口 FieldBuilder
- 所有已知实现类:
DefaultFieldBuilder
public interface FieldBuilder
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 16, 2012
-
方法概要
修饰符和类型方法说明voidappend(ByteArrayBuffer line) Updates builder's internal state by adding a new line of text.build()Builds an instance ofRawFieldbased on the internal state.getRaw()Returns combined content of all lines processed so far ornullif the builder does not retain original raw content.voidreset()Resets the internal state of the builder making it ready to process new input.
-
方法详细资料
-
reset
void reset()Resets the internal state of the builder making it ready to process new input. -
append
Updates builder's internal state by adding a new line of text.- 参数:
line- ByteArrayBuffer- 抛出:
MimeException- MimeException
-
build
Builds an instance ofRawFieldbased on the internal state.- 返回:
- RawField
- 抛出:
MimeException- MimeException
-
getRaw
ByteArrayBuffer getRaw()Returns combined content of all lines processed so far ornullif the builder does not retain original raw content.- 返回:
- ByteArrayBuffer
-