org.openorb.pss.connector.file

Class FileUtil

public class FileUtil extends Object

This class provides utility for file persistance.

Author: Jerome Daniel

Method Summary
static voidmarshalRef(Object ref, OutputStream output)
static voidtruncArray(Object[] src, Object[] tgt, int index)
static StorageObjectRefunmarshalRef(Object ref, InputStream input, StorageHomeBase hbase)

Method Detail

marshalRef

public static void marshalRef(Object ref, OutputStream output)

truncArray

public static void truncArray(Object[] src, Object[] tgt, int index)

unmarshalRef

public static StorageObjectRef unmarshalRef(Object ref, InputStream input, StorageHomeBase hbase)