| Modifier and Type | Field and Description |
|---|---|
| protected final boolean | _bufferRecyclable
Flag that indicates whether buffer above is to be recycled after being used or not. |
| protected final IOContext | |
| protected final InputStream | |
| protected final byte[] | |
| protected int | |
| protected int | _inputProcessed
Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SmileParser | constructParser(int factoryFeatures, int generalParserFeatures, int smileFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols)
|
| public static MatchStrength | |
| private static boolean | |
| private static boolean | possibleSmileValue(byte b, boolean
Whether to consider more speculative matches or not
(typically true when there is context like start-array) lenient)
|
| _bufferRecyclable | back to summary |
|---|---|
| protected final boolean _bufferRecyclable Flag that indicates whether buffer above is to be recycled after being used or not. | |
| _context | back to summary |
|---|---|
| protected final IOContext _context | |
| _in | back to summary |
|---|---|
| protected final InputStream _in | |
| _inputBuffer | back to summary |
|---|---|
| protected final byte[] _inputBuffer | |
| _inputEnd | back to summary |
|---|---|
| protected int _inputEnd | |
| _inputProcessed | back to summary |
|---|---|
| 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. | |
| _inputPtr | back to summary |
|---|---|
| protected int _inputPtr | |
| SmileParserBootstrapper | back to summary |
|---|---|
| public SmileParserBootstrapper(IOContext ctxt, InputStream in) | |
| SmileParserBootstrapper | back to summary |
|---|---|
| public SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen) | |
| constructParser | back to summary |
|---|---|
| public SmileParser constructParser(int factoryFeatures, int generalParserFeatures, int smileFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols) throws IOException, JsonParseException | |
| hasSmileFormat | back to summary |
|---|---|
| public static MatchStrength hasSmileFormat(InputAccessor acc) throws IOException | |
| likelySmileValue | back to summary |
|---|---|
| private static boolean likelySmileValue(byte b) | |
| possibleSmileValue | back to summary |
|---|---|
private static boolean possibleSmileValue(byte b, boolean lenient)
| |