deserialize_stream


Description:

[ Version ( since = "2.10" ) ]
public bool deserialize_stream (InputStream input, void* data) throws Error

Reads configuration data from input and configures this accordingly.

Basically this function creates a properly configured Scanner for you and calls the deserialize function of the this's ConfigInterface.

Parameters:

this

an object that implements the ConfigInterface.

input

the input stream to read configuration from.

data

user data passed to the deserialize implementation.

Returns:

Whether deserialization succeeded.