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