T - Type to be read and writtenpublic interface ISerializationConverter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
readConvertedObject(ObjectInputStream aOIS)
Read the object from the specified
ObjectInputStream. |
void |
writeConvertedObject(T aSourceObject,
ObjectOutputStream aOOS)
Write the passed source object to the passed
ObjectOutputStream. |
void writeConvertedObject(@Nonnull T aSourceObject, @Nonnull ObjectOutputStream aOOS) throws IOException
ObjectOutputStream.aSourceObject - The source object to write. Never null.aOOS - The output stream to write to. Never null.IOException - In case of a stream error@Nonnull T readConvertedObject(@Nonnull ObjectInputStream aOIS) throws IOException
ObjectInputStream.aOIS - The object input stream to read from. Never null.null.IOException - In case of a stream errorCopyright © 2014–2019 Philip Helger. All rights reserved.