db4o

Blob.readFrom Method 

reads a file into the db4o system and stores it as a blob.

[Visual Basic]
Sub readFrom( _ 
   ByVal file As File _ 
)
[C#]
void readFrom(
   File file
);
[C++]
void readFrom(
   File* file
);
[JScript]
function readFrom(
   File file
);

Parameters

file
the file the blob is to be read from.

Remarks

reads a file into the db4o system and stores it as a blob.

In Client/Server mode db4o will open an additional socket and process writing data in an additional thread.

Exceptions

Exception TypeCondition
IOExceptionin case of errors

See Also

Blob Interface | com.db4o.types Namespace