Tabnine Logo
ObjectReadContext.getStreamReadFeatures
Code IndexAdd Tabnine to your IDE (free)

How to use
getStreamReadFeatures
method
in
com.fasterxml.jackson.core.ObjectReadContext

Best Java code snippets using com.fasterxml.jackson.core.ObjectReadContext.getStreamReadFeatures (Showing top 20 results out of 315)

origin: FasterXML/jackson-core

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    InputStream in) throws IOException {
  return new ByteSourceJsonBootstrapper(ioCtxt, in)
      .constructParser(readCtxt,
          readCtxt.getStreamReadFeatures(_streamReadFeatures),
          readCtxt.getFormatReadFeatures(_formatReadFeatures),
          _byteSymbolCanonicalizer, _rootCharSymbols, _factoryFeatures);
}
origin: FasterXML/jackson-core

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    Reader r) throws IOException {
  return new ReaderBasedJsonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      r,
      _rootCharSymbols.makeChild(_factoryFeatures));
}
origin: FasterXML/jackson-core

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    char[] data, int offset, int len,
    boolean recyclable) throws IOException {
  return new ReaderBasedJsonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      null,
      _rootCharSymbols.makeChild(_factoryFeatures),
      data, offset, offset+len, recyclable);
}
origin: FasterXML/jackson-core

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len) throws IOException
{
  return new ByteSourceJsonBootstrapper(ioCtxt, data, offset, len)
      .constructParser(readCtxt,
          readCtxt.getStreamReadFeatures(_streamReadFeatures),
          readCtxt.getFormatReadFeatures(_formatReadFeatures),
          _byteSymbolCanonicalizer, _rootCharSymbols, _factoryFeatures);
}
origin: FasterXML/jackson-core

@Override
public JsonParser createNonBlockingByteArrayParser(ObjectReadContext readCtxt) throws IOException
{
  IOContext ioCtxt = _createNonBlockingContext(null);
  ByteQuadsCanonicalizer can = _byteSymbolCanonicalizer.makeChild(_factoryFeatures);
  return new NonBlockingJsonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      can);
}
origin: FasterXML/jackson-core

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    DataInput input) throws IOException
{
  // Also: while we can't do full bootstrapping (due to read-ahead limitations), should
  // at least handle possible UTF-8 BOM
  int firstByte = ByteSourceJsonBootstrapper.skipUTF8BOM(input);
  ByteQuadsCanonicalizer can = _byteSymbolCanonicalizer.makeChild(_factoryFeatures);
  return new UTF8DataInputJsonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      input, can, firstByte);
}
origin: FasterXML/jackson-dataformats-text

@Override
protected YAMLParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    char[] data, int offset, int len,
    boolean recyclable) throws IOException {
  return new YAMLParser(readCtxt, ioCtxt, _getBufferRecycler(),
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      new CharArrayReader(data, offset, len));
}
origin: FasterXML/jackson-dataformats-text

@Override
protected YAMLParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    Reader r) throws IOException {
  return new YAMLParser(readCtxt, ioCtxt,
      _getBufferRecycler(), 
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      r);
}
origin: FasterXML/jackson-dataformats-binary

public IonParser createParser(ObjectReadContext readCtxt, IonReader in) {
  return new IonParser(readCtxt, _createContext(in, false),
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      in, _system);
}
origin: FasterXML/jackson-dataformats-binary

private JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt, InputStream in)
  throws IOException
{
  IonReader ion = _system.newReader(in);
  return new IonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      ion, _system);
}
origin: FasterXML/jackson-dataformats-binary

private JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt, Reader r)
  throws IOException
{
  return new IonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      _system.newReader(r), _system);
}
origin: FasterXML/jackson-dataformats-binary

private JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len)
  throws IOException
{
  return new IonParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      _system.newReader(data, offset, len), _system);
}
origin: FasterXML/jackson-dataformats-binary

@Override
protected ProtobufParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len) throws IOException
{
  return new ProtobufParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      (ProtobufSchema) readCtxt.getSchema(),
      null, data, offset, len, false);
}
origin: FasterXML/jackson-dataformats-text

@Override
protected YAMLParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    InputStream in) throws IOException {
  return new YAMLParser(readCtxt, ioCtxt,
      _getBufferRecycler(),
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      _createReader(in, null, ioCtxt));
}
origin: FasterXML/jackson-dataformats-text

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    Reader r) throws IOException {
  Properties props = _loadProperties(r, ioCtxt);
  return new JavaPropsParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      _getSchema(readCtxt),
      r, props);
}
origin: FasterXML/jackson-dataformats-text

/**
 * Overridable factory method that actually instantiates desired parser.
 */
@Override
protected CsvParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    Reader r) throws IOException {
  return new CsvParser(readCtxt, (CsvIOContext) ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      _getSchema(readCtxt),
      r);
}
origin: FasterXML/jackson-dataformats-binary

@Override
protected JsonParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len) throws IOException
{
  return new SmileParserBootstrapper(ioCtxt, data, offset, len)
    .constructParser(readCtxt, _factoryFeatures,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      readCtxt.getFormatReadFeatures(_formatReadFeatures),
      _byteSymbolCanonicalizer);
}
origin: FasterXML/jackson-dataformats-text

/**
 * Overridable factory method that actually instantiates desired parser.
 */
@Override
protected CsvParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    InputStream in) throws IOException {
  return new CsvParserBootstrapper(ioCtxt, in)
    .constructParser(readCtxt,
        readCtxt.getStreamReadFeatures(_streamReadFeatures),
        readCtxt.getFormatReadFeatures(_formatReadFeatures),
        _getSchema(readCtxt));
}
origin: FasterXML/jackson-dataformats-binary

public IonParser createParser(ObjectReadContext readCtxt, IonValue value) {
  IonReader in = value.getSystem().newReader(value);
  return new IonParser(readCtxt, _createContext(in, true),
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      in, _system);
}
origin: FasterXML/jackson-dataformats-text

@Override
protected CsvParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len) throws IOException {
  return new CsvParserBootstrapper(ioCtxt, data, offset, len)
      .constructParser(readCtxt,
          readCtxt.getStreamReadFeatures(_streamReadFeatures),
          readCtxt.getFormatReadFeatures(_formatReadFeatures),
          _getSchema(readCtxt));
}
com.fasterxml.jackson.coreObjectReadContextgetStreamReadFeatures

Popular methods of ObjectReadContext

  • getFormatReadFeatures
  • getSchema
  • empty
  • getParserFactory
  • readTree
  • readValue

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • getSystemService (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now