public class ODataBinaryAdapter
extends com.google.gson.TypeAdapter<T>
Constructor and Description |
---|
ODataBinaryAdapter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.olingo.odata2.core.edm.AbstractSimpleType |
getSimpleTypeInstance() |
protected Class<byte[]> |
getValueType() |
protected Object |
processEntityValue(T entityValue) |
T |
read(com.google.gson.stream.JsonReader in)
For internal use only by data model classes
|
void |
write(com.google.gson.stream.JsonWriter out,
T entityValue)
For internal use only by data model classes
|
protected org.apache.olingo.odata2.core.edm.AbstractSimpleType getSimpleTypeInstance()
protected Class<byte[]> getValueType()
protected Object processEntityValue(T entityValue)
public void write(com.google.gson.stream.JsonWriter out, T entityValue) throws IOException
write
in class com.google.gson.TypeAdapter<T>
IOException
public T read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<T>
IOException
Copyright © 2020 SAP SE. All rights reserved.