| Package | Description |
|---|---|
| com.cognitect.transit |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ArrayReadHandler<G,A,T,R>
Provides an ArrayReader to Transit to use in incrementally parsing
an array representation of a value.
|
interface |
MapReadHandler<G,A,K,V,R>
Provides a MapReader to Transit to use in incrementally parsing
a map representation of a value.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ReadHandler<?,?>> |
TransitFactory.defaultReadHandlers()
Returns a map of tags to ReadHandlers that is used by default
|
static Map<String,ReadHandler<?,?>> |
TransitFactory.readHandlerMap(Map<String,ReadHandler<?,?>> customHandlers)
Creates a read-only Map of String to ReadHandler containing
default ReadHandlers with customHandlers merged in.
|
| Modifier and Type | Method and Description |
|---|---|
static Reader |
TransitFactory.reader(TransitFactory.Format type,
InputStream in,
Map<String,ReadHandler<?,?>> customHandlers)
Creates a reader instance.
|
static Reader |
TransitFactory.reader(TransitFactory.Format type,
InputStream in,
Map<String,ReadHandler<?,?>> customHandlers,
DefaultReadHandler<?> customDefaultHandler)
Creates a reader instance.
|
static Map<String,ReadHandler<?,?>> |
TransitFactory.readHandlerMap(Map<String,ReadHandler<?,?>> customHandlers)
Creates a read-only Map of String to ReadHandler containing
default ReadHandlers with customHandlers merged in.
|
Copyright © 2017. All rights reserved.