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