Package com.dropbox.core.v1
Class DbxDeltaC.Reader<C,MD extends Dumpable>
- java.lang.Object
-
- com.dropbox.core.json.JsonReader<DbxDeltaC<C>>
-
- com.dropbox.core.v1.DbxDeltaC.Reader<C,MD>
-
public static final class DbxDeltaC.Reader<C,MD extends Dumpable> extends JsonReader<DbxDeltaC<C>>
For JSON parsing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.dropbox.core.json.JsonReader
JsonReader.FieldMapping, JsonReader.FileLoadException
-
-
Field Summary
Fields Modifier and Type Field Description Collector<DbxDeltaC.Entry<MD>,C>
entryCollector
JsonReader<MD>
metadataReader
-
Fields inherited from class com.dropbox.core.json.JsonReader
BinaryReader, BooleanReader, Float32Reader, Float64Reader, Int32Reader, Int64Reader, StringReader, UInt32Reader, UInt64Reader, UnsignedLongReader, VoidReader
-
-
Constructor Summary
Constructors Constructor Description Reader(JsonReader<MD> metadataReader, Collector<DbxDeltaC.Entry<MD>,C> entryCollector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DbxDeltaC<C>
read(com.fasterxml.jackson.core.JsonParser parser)
static <C,MD extends Dumpable>
DbxDeltaC<C>read(com.fasterxml.jackson.core.JsonParser parser, JsonReader<MD> metadataReader, Collector<DbxDeltaC.Entry<MD>,C> entryCollector)
-
Methods inherited from class com.dropbox.core.json.JsonReader
expectArrayEnd, expectArrayStart, expectObjectEnd, expectObjectStart, isArrayEnd, isArrayStart, nextToken, readBoolean, readDouble, readEnum, readField, readFields, readFromFile, readFromFile, readFromTags, readFully, readFully, readFully, readFully, readOptional, readTags, readUnsignedLong, readUnsignedLongField, skipValue, validate
-
-
-
-
Field Detail
-
metadataReader
public final JsonReader<MD extends Dumpable> metadataReader
-
entryCollector
public final Collector<DbxDeltaC.Entry<MD extends Dumpable>,C> entryCollector
-
-
Constructor Detail
-
Reader
public Reader(JsonReader<MD> metadataReader, Collector<DbxDeltaC.Entry<MD>,C> entryCollector)
-
-
Method Detail
-
read
public DbxDeltaC<C> read(com.fasterxml.jackson.core.JsonParser parser) throws java.io.IOException, JsonReadException
- Specified by:
read
in classJsonReader<DbxDeltaC<C>>
- Throws:
java.io.IOException
JsonReadException
-
read
public static <C,MD extends Dumpable> DbxDeltaC<C> read(com.fasterxml.jackson.core.JsonParser parser, JsonReader<MD> metadataReader, Collector<DbxDeltaC.Entry<MD>,C> entryCollector) throws java.io.IOException, JsonReadException
- Throws:
java.io.IOException
JsonReadException
-
-