org.codehaus.jackson.smile
Class SmileParserBootstrapper
java.lang.Object
org.codehaus.jackson.smile.SmileParserBootstrapper
public class SmileParserBootstrapper
- extends Object
Simple bootstrapper version used with Smile format parser.
Field Summary |
protected int |
_inputProcessed
Current number of input units (bytes or chars) that were processed in
previous blocks,
before contents of current input buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_inputProcessed
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.
SmileParserBootstrapper
public SmileParserBootstrapper(IOContext ctxt,
InputStream in)
SmileParserBootstrapper
public SmileParserBootstrapper(IOContext ctxt,
byte[] inputBuffer,
int inputStart,
int inputLen)
constructParser
public SmileParser constructParser(int generalParserFeatures,
int smileFeatures,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols)
throws IOException,
JsonParseException
- Throws:
IOException
JsonParseException
hasSmileFormat
public static MatchStrength hasSmileFormat(InputAccessor acc)
throws IOException
- Helper
- Throws:
IOException
- Since:
- 1.8
ensureLoaded
protected boolean ensureLoaded(int minimum)
throws IOException
- Throws:
IOException