| java.lang.Object com.versant.core.common.SerUtils
SerUtils | final public class SerUtils (Code) | | Utility methods to help with Serialization.
|
Method Summary | |
public static Object | readArrayField(FieldMetaData fmd, OIDObjectInput is) | public static Object | readArrayField(int type, OIDObjectInput is) | public static boolean[] | readBooleanArray(ObjectInput in) | public static Boolean[] | readBooleanWArray(ObjectInput in) | public static byte[] | readByteArray(ObjectInput in) | public static Byte[] | readByteWArray(ObjectInput in) | public static char[] | readCharArray(ObjectInput in) | public static Character[] | readCharWArray(ObjectInput in) | public static Object[] | readCollectionArray(FieldMetaData fmd, OIDObjectInput in) | public static Object | readCollectionOrMapField(OIDObjectInput in, FieldMetaData fmd) Read the value of a collection or map field from the stream. | public static Date[] | readDateArray(ObjectInput in) | public static double[] | readDoubleArray(ObjectInput in) | public static Double[] | readDoubleWArray(ObjectInput in) | public static float[] | readFloatArray(ObjectInput in) | public static Float[] | readFloatWArray(ObjectInput in) | public static int[] | readIntArray(ObjectInput in) | public static Integer[] | readIntegerArray(ObjectInput in) | public static Locale[] | readLocaleArray(ObjectInput in) | public static long[] | readLongArray(ObjectInput in) | public static Long[] | readLongWArray(ObjectInput in) | public static MapEntries | readMapEntries(FieldMetaData fmd, OIDObjectInput in) | final public static OID[] | readOIDArray(OIDObjectInput in) | public static Object[] | readOIDObjectArray(OIDObjectInput in) | public static Object | readObject(ObjectInput dis) | public static Object[] | readObjectArray(ObjectInput in) | public static short[] | readShortArray(ObjectInput in) | public static Short[] | readShortWArray(ObjectInput in) | public static Object | readSimpleField(FieldMetaData fmd, ObjectInput is) | public static Object | readSimpleField(int typeCode, ObjectInput is) | public static String[] | readStringArray(ObjectInput in) | public static void | writeArrayField(FieldMetaData fmd, OIDObjectOutput os, Object data) | public static void | writeArrayField(int type, OIDObjectOutput os, Object toWrite) | public static void | writeBooleanArray(boolean[] array, ObjectOutput out) | public static void | writeBooleanWArray(Boolean[] array, ObjectOutput out) | public static void | writeByteArray(byte[] array, ObjectOutput out) | public static void | writeByteWArray(Byte[] array, ObjectOutput out) | public static void | writeCharArray(char[] array, ObjectOutput out) | public static void | writeCharWArray(Character[] array, ObjectOutput out) | public static void | writeCollectionArray(FieldMetaData fmd, Object data, OIDObjectOutput out) | public static void | writeCollectionOrMapField(OIDObjectOutput out, FieldMetaData fmd, Object data) Write the value of a collection or map field to the stream. | public static void | writeDateArray(Date[] array, ObjectOutput out) | public static void | writeDoubleArray(double[] array, ObjectOutput out) | public static void | writeDoubleWArray(Double[] array, ObjectOutput out) | public static void | writeFloatArray(float[] array, ObjectOutput out) | public static void | writeFloatWArray(Float[] array, ObjectOutput out) | public static void | writeIntArray(int[] array, ObjectOutput out) | public static void | writeIntegerArray(Integer[] array, ObjectOutput out) | public static void | writeLocaleArray(Locale[] array, ObjectOutput out) | public static void | writeLongArray(long[] array, ObjectOutput out) | public static void | writeLongWArray(Long[] array, ObjectOutput out) | public static void | writeMapEntries(FieldMetaData fmd, OIDObjectOutput out, MapEntries data) | final public static void | writeOIDArray(OID[] oids, OIDObjectOutput out) | public static void | writeOIDObjectArray(Object[] oids, OIDObjectOutput out) This writes the Object[] of oids that is send as part of a collection read
from the store. | public static void | writeObject(Object o, ObjectOutput dos) | public static void | writeObjectArray(Object[] array, ObjectOutput out) | public static void | writeShortArray(short[] array, ObjectOutput out) | public static void | writeShortWArray(Short[] array, ObjectOutput out) | public static void | writeSimpleField(FieldMetaData fmd, ObjectOutput os, Object toWrite) | public static void | writeSimpleField(int typeCode, ObjectOutput os, Object toWrite) | public static void | writeStringArray(String[] array, ObjectOutput out) |
writeOIDObjectArray | public static void writeOIDObjectArray(Object[] oids, OIDObjectOutput out) throws IOException(Code) | | This writes the Object[] of oids that is send as part of a collection read
from the store.
|
|
|