public class SmileParserBootstrapper extends Object
限定符和类型 | 字段和说明 |
---|---|
protected int |
_inputProcessed
Current number of input units (bytes or chars) that were processed in
previous blocks,
before contents of current input buffer.
|
构造器和说明 |
---|
SmileParserBootstrapper(IOContext ctxt,
byte[] inputBuffer,
int inputStart,
int inputLen) |
SmileParserBootstrapper(IOContext ctxt,
InputStream in) |
限定符和类型 | 方法和说明 |
---|---|
SmileParser |
constructParser(int generalParserFeatures,
int smileFeatures,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols) |
protected boolean |
ensureLoaded(int minimum) |
static MatchStrength |
hasSmileFormat(InputAccessor acc)
Helper
|
protected int _inputProcessed
Note: includes possible BOMs, if those were part of the input.
public SmileParserBootstrapper(IOContext ctxt, InputStream in)
public SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)
public SmileParser constructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols) throws IOException, JsonParseException
public static MatchStrength hasSmileFormat(InputAccessor acc) throws IOException
IOException
protected boolean ensureLoaded(int minimum) throws IOException
IOException