cgl.imr.data.file
Class FileData

java.lang.Object
  extended by cgl.imr.data.file.FileData
All Implemented Interfaces:
TwisterSerializable, DataPartition

public class FileData
extends Object
implements DataPartition

Information for file data partition.


Field Summary
 
Fields inherited from interface cgl.imr.data.DataPartition
SPLIT
 
Constructor Summary
FileData()
           
FileData(String fileName)
           
 
Method Summary
 void fromBytes(byte[] bytes)
          Construct the object back from a previously serialized bytes.
 byte[] getBytes()
          Serialize the object and returns the bytes.
 String getFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileData

public FileData()

FileData

public FileData(String fileName)
Method Detail

fromBytes

public void fromBytes(byte[] bytes)
               throws SerializationException
Description copied from interface: TwisterSerializable
Construct the object back from a previously serialized bytes.

Specified by:
fromBytes in interface TwisterSerializable
Throws:
SerializationException

getBytes

public byte[] getBytes()
                throws SerializationException
Description copied from interface: TwisterSerializable
Serialize the object and returns the bytes.

Specified by:
getBytes in interface TwisterSerializable
Returns:
byte[] of serialized object.
Throws:
SerializationException

getFileName

public String getFileName()


For comments and suggestions please send e-mail to