Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`TextAccumulator()`

Method Summary
`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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Fasterxml.com. All Rights Reserved.