接口 FieldBuilder

所有已知实现类:
DefaultFieldBuilder

public interface FieldBuilder

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Updates builder's internal state by adding a new line of text.
    Builds an instance of RawField based on the internal state.
    Returns combined content of all lines processed so far or null if the builder does not retain original raw content.
    void
    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

      void append(ByteArrayBuffer line) throws MimeException
      Updates builder's internal state by adding a new line of text.
      参数:
      line - ByteArrayBuffer
      抛出:
      MimeException - MimeException
    • build

      RawField build() throws MimeException
      Builds an instance of RawField based on the internal state.
      返回:
      RawField
      抛出:
      MimeException - MimeException
    • getRaw

      ByteArrayBuffer getRaw()
      Returns combined content of all lines processed so far or null if the builder does not retain original raw content.
      返回:
      ByteArrayBuffer