Neokernel API

FileObjectStore Constructor

Creates an instance of FileObjectStore using the description parameter and the given block size. The File parameter passed in will be used to initialize any previous information in this file (NOTE that the BLOCK sizes must be the same) and for reading and writing. The Block size must exceed the required size the Block's header.

FileObjectStore(
   FileInfo storeFile,
   string fileInfo,
   long blockSize
);

Parameters

storeFile
This is the File which will be used for initialization and all reads and writes.
fileInfo
This will be stored in the header of this store file (NOT block headers) as a description for this file. If this is an empty String, the original fileInfo will attempt to be read in.
blockSize
This will be the size each FileObjectBlock allocated by this FileObjectStore.

Exceptions

Exception Type Condition
Exception This is thrown if the FileObjectStore could not be created from the given parameters.

See Also

FileObjectStore Class | com.neokernel.om Namespace | FileObjectStore Constructor Overload List | FileObjectBlock