Codota Logo
ObjectReadContext.getStreamReadFeatures
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
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,
    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

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

@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
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now