| java.lang.Object | ||
| ↳ | java.io.Writer | |
| ↳ | com.fasterxml.jackson.core.io.SegmentedStringWriter | |
Efficient alternative to StringWriter, based on using segmented internal buffer. Initial input buffer is also recyclable.
 This class is most useful when serializing JSON content as a String:
 if so, instance of this class can be given as the writer to
 JsonGenerator.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _buffer | |||||||||||
| [Expand] Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
java.io.Writer | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Main access method that will construct a String that contains
 all the contents, release all internal buffers we may have,
 and return result String. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.io.Writer | |||||||||||
|  From class
  java.lang.Object | |||||||||||
|  From interface
  java.io.Closeable | |||||||||||
|  From interface
  java.io.Flushable | |||||||||||
|  From interface
  java.lang.Appendable | |||||||||||
|  From interface
  java.lang.AutoCloseable | |||||||||||
Main access method that will construct a String that contains all the contents, release all internal buffers we may have, and return result String. Note that the method is not idempotent -- if called second time, will just return an empty String.