Package org.codehaus.jackson.smile
Class SmileParserBootstrapper
java.lang.Object
org.codehaus.jackson.smile.SmileParserBootstrapper
Simple bootstrapper version used with Smile format parser.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. -
Constructor Summary
ConstructorsConstructorDescriptionSmileParserBootstrapper
(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen) SmileParserBootstrapper
(IOContext ctxt, InputStream in) -
Method Summary
Modifier and TypeMethodDescriptionconstructParser
(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols) protected boolean
ensureLoaded
(int minimum) static MatchStrength
Helper
-
Field Details
-
_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
-
-
Method Details
-
constructParser
public SmileParser constructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols) throws IOException, JsonParseException - Throws:
IOException
JsonParseException
-
hasSmileFormat
Helper- Throws:
IOException
- Since:
- 1.8
-
ensureLoaded
- Throws:
IOException
-