Class SmileParserBootstrapper
java.lang.Object
tools.jackson.dataformat.smile.SmileParserBootstrapper
Simple bootstrapper version used with Smile format parser.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanFlag that indicates whether buffer above is to be recycled after being used or not.protected final InputStreamprotected final byte[]protected intprotected intCurrent number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer.protected intprotected final tools.jackson.core.io.IOContext -
Constructor Summary
ConstructorsConstructorDescriptionSmileParserBootstrapper(tools.jackson.core.io.IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen) SmileParserBootstrapper(tools.jackson.core.io.IOContext ctxt, InputStream in) -
Method Summary
Modifier and TypeMethodDescriptionconstructParser(tools.jackson.core.ObjectReadContext readCtxt, int factoryFeatures, int generalParserFeatures, int smileFeatures, tools.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols)
-
Field Details
-
_ioContext
protected final tools.jackson.core.io.IOContext _ioContext -
_in
-
_inputBuffer
protected final byte[] _inputBuffer -
_inputPtr
protected int _inputPtr -
_inputEnd
protected int _inputEnd -
_bufferRecyclable
protected final boolean _bufferRecyclableFlag that indicates whether buffer above is to be recycled after being used or not. -
_inputProcessed
protected int _inputProcessedCurrent number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer.Note: includes possible BOMs, if those were part of the input.
-
-
Constructor Details
-
SmileParserBootstrapper
-
SmileParserBootstrapper
public SmileParserBootstrapper(tools.jackson.core.io.IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)
-
-
Method Details
-
constructParser
public SmileParser constructParser(tools.jackson.core.ObjectReadContext readCtxt, int factoryFeatures, int generalParserFeatures, int smileFeatures, tools.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-