Class YearMonthExternalizer
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.time.YearMonthExternalizer
-
- All Implemented Interfaces:
Externalizer<YearMonth>
public class YearMonthExternalizer extends Object implements Externalizer<YearMonth>
Externalizer for aYearMonth.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description YearMonthExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<YearMonth>getTargetClass()YearMonthreadObject(ObjectInput input)OptionalIntsize(YearMonth value)voidwriteObject(ObjectOutput output, YearMonth value)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, YearMonth value) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<YearMonth>- Throws:
IOException
-
readObject
public YearMonth readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<YearMonth>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
public Class<YearMonth> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<YearMonth>
-
size
public OptionalInt size(YearMonth value)
- Specified by:
sizein interfaceExternalizer<YearMonth>
-
-