public class FixedFormatDeserializerImpl extends Object implements FixedFormatDeserializer
| Constructor and Description |
|---|
FixedFormatDeserializerImpl() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
binary(InputStream content)
Reads binary data from an InputStream.
|
EntityMediaObject |
binaryIntoStream(InputStream content)
Reads binary data from an InputStream.
|
Parameter |
parameter(String content,
EdmParameter parameter)
Reads parameter data (in URI syntax) from a String.
|
List<BatchRequestPart> |
parseBatchRequest(InputStream content,
String boundary,
BatchOptions options)
Reads batch data from an InputStream.
|
Object |
primitiveValue(InputStream content,
EdmProperty property)
Reads primitive-type data from an InputStream.
|
public byte[] binary(InputStream content) throws DeserializerException
FixedFormatDeserializerbinary in interface FixedFormatDeserializercontent - the binary data as input streamDeserializerExceptionpublic EntityMediaObject binaryIntoStream(InputStream content) throws DeserializerException
FixedFormatDeserializerbinaryIntoStream in interface FixedFormatDeserializercontent - contains the InputStreamDeserializerExceptionpublic Object primitiveValue(InputStream content, EdmProperty property) throws DeserializerException
FixedFormatDeserializerprimitiveValue in interface FixedFormatDeserializercontent - the textual value as input streamproperty - EDM propertyDeserializerExceptionpublic Parameter parameter(String content, EdmParameter parameter) throws DeserializerException
FixedFormatDeserializerparameter in interface FixedFormatDeserializercontent - the textual value as Stringparameter - EDM parameterDeserializerExceptionpublic List<BatchRequestPart> parseBatchRequest(InputStream content, String boundary, BatchOptions options) throws BatchDeserializerException
FixedFormatDeserializerparseBatchRequest in interface FixedFormatDeserializercontent - the data as multipart input streamboundary - the boundary between the partsoptions - options for the deserializerBatchDeserializerExceptionCopyright © 2023. All rights reserved.