| Constructor and Description |
|---|
WireConverter()
Create a converter with a default
Wire instance. |
WireConverter(com.squareup.wire.Wire wire)
Create a converter using the supplied
Wire instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromBody(TypedInput body,
Type type) |
TypedOutput |
toBody(Object object) |
public WireConverter()
Wire instance.public WireConverter(com.squareup.wire.Wire wire)
Wire instance.public Object fromBody(TypedInput body, Type type) throws ConversionException
fromBody in interface ConverterConversionExceptionpublic TypedOutput toBody(Object object)
Copyright © 2014 Square, Inc.. All Rights Reserved.