com.fasterxml.jackson.dataformat.smile
Class SmileParserBootstrapper
java.lang.Object
com.fasterxml.jackson.dataformat.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. |
|
Method Summary |
SmileParser |
constructParser(int generalParserFeatures,
int smileFeatures,
boolean internNames,
com.fasterxml.jackson.core.ObjectCodec codec,
com.fasterxml.jackson.core.sym.BytesToNameCanonicalizer rootByteSymbols)
|
protected boolean |
ensureLoaded(int minimum)
|
static com.fasterxml.jackson.core.format.MatchStrength |
hasSmileFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
Helper |
| 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(com.fasterxml.jackson.core.io.IOContext ctxt,
InputStream in)
SmileParserBootstrapper
public SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
byte[] inputBuffer,
int inputStart,
int inputLen)
constructParser
public SmileParser constructParser(int generalParserFeatures,
int smileFeatures,
boolean internNames,
com.fasterxml.jackson.core.ObjectCodec codec,
com.fasterxml.jackson.core.sym.BytesToNameCanonicalizer rootByteSymbols)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
- Throws:
IOException
com.fasterxml.jackson.core.JsonParseException
hasSmileFormat
public static com.fasterxml.jackson.core.format.MatchStrength hasSmileFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
throws IOException
- Helper
- Throws:
IOException- Since:
- 1.8
ensureLoaded
protected boolean ensureLoaded(int minimum)
throws IOException
- Throws:
IOException
Copyright © 2012 fasterxml.com. All Rights Reserved.