Package org.codehaus.jackson.smile
Class SmileParserBootstrapper
- java.lang.Object
-
- org.codehaus.jackson.smile.SmileParserBootstrapper
-
public class SmileParserBootstrapper extends java.lang.Object
Simple bootstrapper version used with Smile format parser.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
_inputProcessed
Current 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 SmileParser
constructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols)
protected boolean
ensureLoaded(int minimum)
static MatchStrength
hasSmileFormat(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.IOException
JsonParseException
-
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
-
-