public class OffsetDateTimeMarshaller extends Object implements ProtoStreamMarshaller<OffsetDateTime>
OffsetDateTime instances, using the following strategy:
| Constructor and Description |
|---|
OffsetDateTimeMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends OffsetDateTime> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
OffsetDateTime |
readFrom(ProtoStreamReader reader)
Reads an object from the specified reader.
|
void |
writeTo(ProtoStreamWriter writer,
OffsetDateTime value)
Writes the specified object to the specified writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeName, read, writesizepublic OffsetDateTime readFrom(ProtoStreamReader reader) throws IOException
MarshallablereadFrom in interface Marshallable<OffsetDateTime>reader - a ProtoStream readerIOException - if the object could not be readpublic void writeTo(ProtoStreamWriter writer, OffsetDateTime value) throws IOException
MarshallablewriteTo in interface Marshallable<OffsetDateTime>writer - a ProtoStream writervalue - the object to be writtenIOException - if the object could not be writtenpublic Class<? extends OffsetDateTime> getJavaClass()
MarshallablegetJavaClass in interface org.infinispan.protostream.BaseMarshaller<OffsetDateTime>getJavaClass in interface Marshallable<OffsetDateTime>Copyright © 2021 JBoss by Red Hat. All rights reserved.