com.fasterxml.aalto.util

## Class TextAccumulator

- java.lang.Object
- - com.fasterxml.aalto.util.TextAccumulator

-     public final class TextAccumulator
      extends Object

  Simple utility class used to efficiently accumulate and concatenate text passed in various forms

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextAccumulator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addText(char[] buf, int start, int end)`
    `void` | `addText(String text)`
    `String` | `getAndClear()`
    `boolean` | `hasText()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TextAccumulator

          public TextAccumulator()

  - ### Method Detail

    - #### hasText

          public boolean hasText()

    - #### addText

          public void addText(String text)

    - #### addText

          public void addText(char[] buf,
                     int start,
                     int end)

    - #### getAndClear

          public String getAndClear()

Copyright © 2018 FasterXML. All rights reserved.