public static class Fqn.Externalizer extends AbstractExternalizer<Fqn>
| Constructor and Description |
|---|
Externalizer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Class<? extends Fqn>> |
getTypeClasses()
Returns a collection of Class instances representing the types that this
AdvancedExternalizer can marshall.
|
Fqn |
readObject(java.io.ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(java.io.ObjectOutput output,
Fqn fqn)
Write the object reference to the stream.
|
getIdpublic void writeObject(java.io.ObjectOutput output,
Fqn fqn)
throws java.io.IOException
Externalizeroutput - the object output to write tofqn - the object reference to writejava.io.IOException - if an I/O error occurspublic Fqn readObject(java.io.ObjectInput input) throws java.io.IOException, java.lang.ClassNotFoundException
ExternalizerExternalizer.writeObject(ObjectOutput, Object) method. Implementations are free
to create instances of the object read from the stream in any way that they
feel like. This could be via constructor, factory or reflection.input - the object input to read fromjava.io.IOException - if an I/O error occursjava.lang.ClassNotFoundException - if a class could not be foundpublic java.util.Set<java.lang.Class<? extends Fqn>> getTypeClasses()
AdvancedExternalizer