Top Fields Constructors Methods
tools.jackson.core.util

public final Class ReadConstrainedTextBuffer

extends TextBuffer
Class Inheritance
Imports
tools.jackson.core.StreamReadConstraints, tools.jackson.core.exc.StreamConstraintsException

Field Summary

Modifier and TypeField and Description
private final StreamReadConstraints
Inherited from tools.jackson.core.util.TextBuffer:
MAX_SEGMENT_LENMIN_SEGMENT_LEN

Constructor Summary

AccessConstructor and Description
public
ReadConstrainedTextBuffer(StreamReadConstraints streamReadConstraints, BufferRecycler bufferRecycler)

Method Summary

Modifier and TypeMethod and Description
protected void
validateStringLength(int length)

Overrides tools.jackson.core.util.TextBuffer.validateStringLength.

Convenience method that can be used to verify that a String of specified length does not exceed maximum specific by this constraints object: if it does, a JacksonException is thrown.

Inherited from tools.jackson.core.util.TextBuffer:
_reportBufferOverflowappendappendappendbufferRecyclercontentsAsArraycontentsAsDecimalcontentsAsDoublecontentsAsFloatcontentsAsIntcontentsAsLongcontentsAsStringcontentsToWriteremptyAndGetCurrentSegmentensureNotSharedexpandCurrentSegmentexpandCurrentSegmentfinishAndReturnfinishCurrentSegmentfromInitialgetBufferWithoutResetgetCurrentSegmentgetCurrentSegmentSizegetTextBuffergetTextOffsethasTextAsCharactersreleaseBuffersresetWithresetWithCopyresetWithCopyresetWithEmptyresetWithSharedresetWithStringsetCurrentAndReturnsetCurrentLengthsizetoString

Field Detail

_streamReadConstraintsback to summary
private final StreamReadConstraints _streamReadConstraints

Constructor Detail

ReadConstrainedTextBufferback to summary
public ReadConstrainedTextBuffer(StreamReadConstraints streamReadConstraints, BufferRecycler bufferRecycler)

Method Detail

validateStringLengthback to summary
protected void validateStringLength(int length) throws StreamConstraintsException

Overrides tools.jackson.core.util.TextBuffer.validateStringLength.

Doc from tools.jackson.core.util.TextBuffer.validateStringLength.

Convenience method that can be used to verify that a String of specified length does not exceed maximum specific by this constraints object: if it does, a JacksonException is thrown.

Annotations
@Override