@HandleClassMetadata @HandleBeanView public static class DefaultConverters.URIConverter extends Object implements Converter<URI>
Modifier and Type | Field and Description |
---|---|
static DefaultConverters.URIConverter |
instance |
Modifier and Type | Method and Description |
---|---|
URI |
deserialize(ObjectReader reader,
Context ctx) |
void |
serialize(URI object,
ObjectWriter writer,
Context ctx) |
public static final DefaultConverters.URIConverter instance
public void serialize(URI object, ObjectWriter writer, Context ctx)
serialize
in interface Converter<URI>
serialize
in interface Serializer<URI>
object
- we want to serialize. The object is of type T or a subclass (if this serializer
has been registered for subclasses).writer
- to use to write data to the output stream.ctx
- the current context.public URI deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<URI>
deserialize
in interface Deserializer<URI>
reader
- used to read data from.ctx
- the current context.Copyright © 2019. All rights reserved.