public class PeriodExternalizer extends Object implements Externalizer<Period>
Period.| Constructor and Description |
|---|
PeriodExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
Class<Period> |
getTargetClass() |
Period |
readObject(ObjectInput input) |
OptionalInt |
size(Period object) |
void |
writeObject(ObjectOutput output,
Period period) |
public void writeObject(ObjectOutput output, Period period) throws IOException
writeObject in interface Externalizer<Period>IOExceptionpublic Period readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<Period>IOExceptionClassNotFoundExceptionpublic Class<Period> getTargetClass()
getTargetClass in interface Externalizer<Period>public OptionalInt size(Period object)
size in interface Externalizer<Period>Copyright © 2022 JBoss by Red Hat. All rights reserved.