Neokernel API

FileObjectBlock.writeObject Method

This method stores an Object in the body of this Block. If the Object's size exceeds the length of this Block, a new block will be allocated to store the remaining bytes. If the Object was successfully written, true will be returned.

public virtual bool writeObject(
   object data
);

Parameters

data
The Object to write in the body of this Block.

Return Value

Returns true IFF the object was written successfully.

See Also

FileObjectBlock Class | com.neokernel.om Namespace