createExternal
public java.lang.Object createExternal(java.lang.Class<?> subjectType,
java.io.ObjectInput input,
Creator defaultCreator)
throws java.io.IOException,
java.lang.ClassNotFoundException
Create an instance of a type using the provided creator.
- Specified by:
createExternal
in interface Externalizer
- Parameters:
subjectType
- the type to create
input
- the object input
defaultCreator
- the creator
- Returns:
- a new instance
- Throws:
java.io.IOException
- if an I/O error occurs
java.lang.ClassNotFoundException
- if the class could not be located