class JsonReaderFactoryImpl extends java.lang.Object implements JsonReaderFactory
| Modifier and Type | Field and Description |
|---|---|
private BufferPool |
bufferPool |
private java.util.Map<java.lang.String,?> |
config |
| Constructor and Description |
|---|
JsonReaderFactoryImpl(BufferPool bufferPool) |
| Modifier and Type | Method and Description |
|---|---|
JsonReader |
createReader(java.io.InputStream in)
Creates a JSON reader from a byte stream.
|
JsonReader |
createReader(java.io.InputStream in,
java.nio.charset.Charset charset)
Creates a JSON reader from a byte stream.
|
JsonReader |
createReader(java.io.Reader reader)
Creates a JSON reader from a character stream.
|
java.util.Map<java.lang.String,?> |
getConfigInUse()
Returns read-only map of supported provider specific configuration
properties that are used to configure the created JSON readers.
|
private final java.util.Map<java.lang.String,?> config
private final BufferPool bufferPool
JsonReaderFactoryImpl(BufferPool bufferPool)
public JsonReader createReader(java.io.Reader reader)
JsonReaderFactorycreateReader in interface JsonReaderFactoryreader - a reader from which JSON is to be readpublic JsonReader createReader(java.io.InputStream in)
JsonReaderFactorycreateReader in interface JsonReaderFactoryin - a byte stream from which JSON is to be readpublic JsonReader createReader(java.io.InputStream in, java.nio.charset.Charset charset)
JsonReaderFactorycreateReader in interface JsonReaderFactoryin - a byte stream from which JSON is to be readcharset - a charsetpublic java.util.Map<java.lang.String,?> getConfigInUse()
JsonReaderFactorygetConfigInUse in interface JsonReaderFactory