## Uses of Class
com.fasterxml.jackson.core.io.IOContext

- Packages that use IOContext
  Package | Description
  --- | ---
  com.fasterxml.jackson.core | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonParser`) instances.
  com.fasterxml.jackson.core.base | Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).
  com.fasterxml.jackson.core.io |
  com.fasterxml.jackson.core.json | JSON-specific parser and generator implementation classes that Jackson defines and uses.

- - ### Uses of IOContext in com.fasterxml.jackson.core

    Methods in com.fasterxml.jackson.core that return IOContext
    Modifier and Type | Method and Description
    --- | ---
    `protected IOContext` | JsonFactory.`_createContext(Object srcRef, boolean resourceManaged)` Overridable factory method that actually instantiates desired context object.

    Methods in com.fasterxml.jackson.core with parameters of type IOContext
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonGenerator` | JsonFactory.`_createGenerator(Writer out, IOContext ctxt)` Overridable factory method that actually instantiates generator for given `Writer` and context object.
    `protected JsonGenerator` | JsonFactory.`_createJsonGenerator(Writer out, IOContext ctxt)` Deprecated. since 2.1 -- use `JsonFactory._createGenerator(Writer, IOContext)` instead
    `protected JsonParser` | JsonFactory.`_createJsonParser(byte[] data, int offset, int len, IOContext ctxt)` Deprecated. since 2.1 -- use `JsonFactory._createParser(byte[], int, int, IOContext)` instead
    `protected JsonParser` | JsonFactory.`_createJsonParser(InputStream in, IOContext ctxt)` Deprecated. since 2.1 -- use `JsonFactory._createParser(InputStream, IOContext)` instead
    `protected JsonParser` | JsonFactory.`_createJsonParser(Reader r, IOContext ctxt)` Deprecated. since 2.1 -- use `JsonFactory._createParser(Reader, IOContext)` instead
    `protected JsonParser` | JsonFactory.`_createParser(byte[] data, int offset, int len, IOContext ctxt)` Overridable factory method that actually instantiates parser using given `Reader` object for reading content passed as raw byte array.
    `protected JsonParser` | JsonFactory.`_createParser(InputStream in, IOContext ctxt)` Overridable factory method that actually instantiates desired parser given `InputStream` and context object.
    `protected JsonParser` | JsonFactory.`_createParser(Reader r, IOContext ctxt)` Overridable factory method that actually instantiates parser using given `Reader` object for reading content.
    `protected JsonGenerator` | JsonFactory.`_createUTF8Generator(OutputStream out, IOContext ctxt)` Overridable factory method that actually instantiates generator for given `OutputStream` and context object, using UTF-8 encoding.
    `protected JsonGenerator` | JsonFactory.`_createUTF8JsonGenerator(OutputStream out, IOContext ctxt)` Deprecated. since 2.1
    `protected Writer` | JsonFactory.`_createWriter(OutputStream out, JsonEncoding enc, IOContext ctxt)`

  - ### Uses of IOContext in com.fasterxml.jackson.core.base

    Fields in com.fasterxml.jackson.core.base declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | ParserBase.`_ioContext` I/O context for this reader.

    Constructors in com.fasterxml.jackson.core.base with parameters of type IOContext
    Constructor and Description
    `ParserBase(IOContext ctxt, int features)`

  - ### Uses of IOContext in com.fasterxml.jackson.core.io

    Fields in com.fasterxml.jackson.core.io declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | MergedStream.`_context`

    Methods in com.fasterxml.jackson.core.io with parameters of type IOContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract InputStream` | InputDecorator.`decorate(IOContext ctxt, byte[] src, int offset, int length)` Method called by `JsonFactory` instance when creating parser on given "raw" byte source.
    `abstract InputStream` | InputDecorator.`decorate(IOContext ctxt, InputStream in)` Method called by `JsonFactory` instance when creating parser given an `InputStream`, when this decorator has been registered.
    `abstract OutputStream` | OutputDecorator.`decorate(IOContext ctxt, OutputStream out)` Method called by `JsonFactory` instance when creating generator for given `OutputStream`, when this decorator has been registered.
    `abstract Reader` | InputDecorator.`decorate(IOContext ctxt, Reader src)` Method called by `JsonFactory` instance when creating parser given an `Reader`, when this decorator has been registered.
    `abstract Writer` | OutputDecorator.`decorate(IOContext ctxt, Writer w)` Method called by `JsonFactory` instance when creating generator for given `Writer`, when this decorator has been registered.

    Constructors in com.fasterxml.jackson.core.io with parameters of type IOContext
    Constructor and Description
    `MergedStream(IOContext context, InputStream in, byte[] buf, int start, int end)`
    `UTF32Reader(IOContext ctxt, InputStream in, byte[] buf, int ptr, int len, boolean isBigEndian)`
    `UTF8Writer(IOContext ctxt, OutputStream out)`

  - ### Uses of IOContext in com.fasterxml.jackson.core.json

    Fields in com.fasterxml.jackson.core.json declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | ByteSourceJsonBootstrapper.`_context`
    `protected IOContext` | JsonGeneratorImpl.`_ioContext`

    Constructors in com.fasterxml.jackson.core.json with parameters of type IOContext
    Constructor and Description
    `ByteSourceJsonBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)`
    `ByteSourceJsonBootstrapper(IOContext ctxt, InputStream in)`
    `JsonGeneratorImpl(IOContext ctxt, int features, ObjectCodec codec)`
    `ReaderBasedJsonParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)`
    `UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out)`
    `UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)`
    `UTF8StreamJsonParser(IOContext ctxt, int features, InputStream in, ObjectCodec codec, BytesToNameCanonicalizer sym, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`
    `WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w)`

Copyright © 2012-2013 FasterXML. All Rights Reserved.