Package org.codehaus.jackson.smile
Class SmileParserBootstrapper
- java.lang.Object
-
- org.codehaus.jackson.smile.SmileParserBootstrapper
-
public class SmileParserBootstrapper extends java.lang.ObjectSimple bootstrapper version used with Smile format parser.
-
-
Field Summary
Fields Modifier and Type Field Description protected int_inputProcessedCurrent number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer.
-
Constructor Summary
Constructors Constructor Description SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)SmileParserBootstrapper(IOContext ctxt, java.io.InputStream in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SmileParserconstructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols)protected booleanensureLoaded(int minimum)static MatchStrengthhasSmileFormat(InputAccessor acc)Helper
-
-
-
Method Detail
-
constructParser
public SmileParser constructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols) throws java.io.IOException, JsonParseException
- Throws:
java.io.IOExceptionJsonParseException
-
hasSmileFormat
public static MatchStrength hasSmileFormat(InputAccessor acc) throws java.io.IOException
Helper- Throws:
java.io.IOException- Since:
- 1.8
-
ensureLoaded
protected boolean ensureLoaded(int minimum) throws java.io.IOException- Throws:
java.io.IOException
-
-