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