Package org.codehaus.jackson.util

Utility classes used by Jackson Core functionality.


Class Summary
BufferRecycler This is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.
ByteArrayBuilder Helper class that is similar to ByteArrayOutputStream in usage, but more geared to Jackson use cases internally.
DefaultPrettyPrinter Default PrettyPrinter implementation that uses 2-space indentation with platform-default linefeeds.
DefaultPrettyPrinter.FixedSpaceIndenter This is a very simple indenter that only every adds a single space for indentation.
DefaultPrettyPrinter.Lf2SpacesIndenter Default linefeed-based indenter uses system-specific linefeeds and 2 spaces for indentation per level.
DefaultPrettyPrinter.NopIndenter Dummy implementation that adds no indentation whatsoever
InternCache Singleton class that adds a simple first-level cache in front of regular String.intern() functionality.
JsonParserDelegate Helper class that implements delegation pattern for JsonParser, to allow for simple overridability of basic parsing functionality.
JsonParserSequence Helper class that can be used to sequence multiple physical JsonParsers to create a single logical sequence of tokens, as a single JsonParser.
MinimalPrettyPrinter PrettyPrinter implementation that adds no indentation, just implements everything necessary for value output to work as expected, and provide simpler extension points to allow for creating simple custom implementations that add specific decoration or overrides.
TextBuffer TextBuffer is a class similar to StringBuffer, with following differences: TextBuffer uses segments character arrays, to avoid having to do additional array copies when array is not big enough.
TokenBuffer Utility class used for efficient storage of JsonToken sequences, needed for temporary buffering.
TokenBuffer.Segment Individual segment of TokenBuffer that can store up to 16 tokens (limited by 4 bits per token type marker requirement).
VersionUtil Functionality for supporting exposing of component Versions.

Enum Summary

Package org.codehaus.jackson.util Description

Utility classes used by Jackson Core functionality.