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