public static class MimeMetadata.Externalizer extends AbstractExternalizer<MimeMetadata>
Constructor and Description |
---|
MimeMetadata.Externalizer() |
Modifier and Type | Method and Description |
---|---|
int |
Expirable() |
Set<Class<? extends MimeMetadata>> |
getTypeClasses()
Returns a collection of Class instances representing the types that this
AdvancedExternalizer can marshall.
|
int |
Immortal() |
org.jboss.marshalling.util.IdentityIntMap<Class<?>> |
numbers() |
MimeMetadata |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
MimeMetadata meta)
Write the object reference to the stream.
|
getId
public final int Immortal()
public final int Expirable()
public final org.jboss.marshalling.util.IdentityIntMap<Class<?>> numbers()
public MimeMetadata readObject(ObjectInput input)
Externalizer
Externalizer.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 frompublic void writeObject(ObjectOutput output, MimeMetadata meta)
Externalizer
output
- the object output to write tometa
- the object reference to writepublic Set<Class<? extends MimeMetadata>> getTypeClasses()
AdvancedExternalizer
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.