com.metamatrix.common.batch
Class BatchSerializer

java.lang.Object
  extended by com.metamatrix.common.batch.BatchSerializer

public class BatchSerializer
extends java.lang.Object

Since:
4.2

Method Summary
static java.util.List[] readBatch(java.io.ObjectInput in, java.lang.String[] types)
           
static void writeBatch(java.io.ObjectOutput out, java.lang.String[] types, java.util.List[] batch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeBatch

public static void writeBatch(java.io.ObjectOutput out,
                              java.lang.String[] types,
                              java.util.List[] batch)
                       throws java.io.IOException
Throws:
java.io.IOException

readBatch

public static java.util.List[] readBatch(java.io.ObjectInput in,
                                         java.lang.String[] types)
                                  throws java.io.IOException,
                                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2009. All Rights Reserved.