类 DefaultFieldBuilder
java.lang.Object
com.sh.mail.mime4j.stream.DefaultFieldBuilder
- 所有已实现的接口:
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.
-
构造器详细资料
-
DefaultFieldBuilder
public DefaultFieldBuilder(int maxlen)
-
-
方法详细资料
-
reset
public void reset()从接口复制的说明:FieldBuilderResets the internal state of the builder making it ready to process new input.- 指定者:
reset在接口中FieldBuilder
-
append
从接口复制的说明:FieldBuilderUpdates builder's internal state by adding a new line of text.- 指定者:
append在接口中FieldBuilder- 参数:
line- ByteArrayBuffer- 抛出:
MaxHeaderLengthLimitException
-
build
从接口复制的说明:FieldBuilderBuilds an instance ofRawFieldbased on the internal state.- 指定者:
build在接口中FieldBuilder- 返回:
- RawField
- 抛出:
MimeException- MimeException
-
getRaw
从接口复制的说明:FieldBuilderReturns combined content of all lines processed so far ornullif the builder does not retain original raw content.- 指定者:
getRaw在接口中FieldBuilder- 返回:
- ByteArrayBuffer
-