org.dmdf.dmt.externalizers
Class LongExternalizer

java.lang.Object
  extended by org.dmdf.dmt.externalizers.ObjectExternalizer
      extended by org.dmdf.dmt.externalizers.LongExternalizer
All Implemented Interfaces:
Externalizer

public class LongExternalizer
extends ObjectExternalizer

Author:
Steven Wang

Default implemenation for java.lang.Long


Constructor Summary
LongExternalizer()
           
 
Method Summary
 java.lang.Object doRead(java.io.ObjectInput objectInput)
          The subclass implementation responsible read the object back
 void doWrite(java.lang.Object obj, java.io.ObjectOutput objectOutput)
          The subclass is responsible write the obj to objectOutput, the obj is guarenteed not null, subclass do not need do any null check on that
 
Methods inherited from class org.dmdf.dmt.externalizers.ObjectExternalizer
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongExternalizer

public LongExternalizer()
Method Detail

doRead

public java.lang.Object doRead(java.io.ObjectInput objectInput)
                        throws java.io.IOException
Description copied from class: ObjectExternalizer
The subclass implementation responsible read the object back

Specified by:
doRead in class ObjectExternalizer
Returns:
Object
Throws:
java.io.IOException

doWrite

public void doWrite(java.lang.Object obj,
                    java.io.ObjectOutput objectOutput)
             throws java.io.IOException
Description copied from class: ObjectExternalizer
The subclass is responsible write the obj to objectOutput, the obj is guarenteed not null, subclass do not need do any null check on that

Specified by:
doWrite in class ObjectExternalizer
Throws:
java.io.IOException


Copyright © 2005 org.dmdt. All Rights Reserved.