Top Description Fields Constructors Methods
tools.jackson.dataformat.smile

public Class SmileParserBootstrapper

extends Object
Class Inheritance
Imports
java.io.*, tools.jackson.core.*, tools.jackson.core.exc.StreamReadException, .JacksonIOException, tools.jackson.core.io.IOContext, tools.jackson.core.sym.ByteQuadsCanonicalizer

Simple bootstrapper version used with Smile format parser.

Field Summary

Modifier and TypeField and Description
protected final boolean
_bufferRecyclable

Flag that indicates whether buffer above is to be recycled after being used or not.

protected final InputStream
protected final byte[]
protected int
protected int
_inputProcessed

Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer.

protected int
protected final IOContext

Constructor Summary

AccessConstructor and Description
public
public
SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)

Method Summary

Modifier and TypeMethod and Description
public SmileParser
constructParser(ObjectReadContext readCtxt, int factoryFeatures, int generalParserFeatures, int smileFeatures, ByteQuadsCanonicalizer rootByteSymbols)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_bufferRecyclableback to summary
protected final boolean _bufferRecyclable

Flag that indicates whether buffer above is to be recycled after being used or not.

_inback to summary
protected final InputStream _in
_inputBufferback to summary
protected final byte[] _inputBuffer
_inputEndback to summary
protected int _inputEnd
_inputProcessedback to summary
protected int _inputProcessed

Current 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.

_inputPtrback to summary
protected int _inputPtr
_ioContextback to summary
protected final IOContext _ioContext

Constructor Detail

SmileParserBootstrapperback to summary
public SmileParserBootstrapper(IOContext ctxt, InputStream in)
SmileParserBootstrapperback to summary
public SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)

Method Detail

constructParserback to summary
public SmileParser constructParser(ObjectReadContext readCtxt, int factoryFeatures, int generalParserFeatures, int smileFeatures, ByteQuadsCanonicalizer rootByteSymbols) throws JacksonException