Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr.deserialize

lr.deserialize

Example: lr.deserialize String and Parameter Functions

Expands an object to represent its ASCII components. (Java only)

Java Language

String lr.deserialize ([String value,]int index , [booleanmethod] );

Arguments

Name Comments
value The string to be used during replay.
index The zero-based index number of the binary file containing the object data.
Method If "false", use Java's standard deserialization. (default). If "true", use VuGen's deserialization mechanism. This parameter is optional (default=true)

The lr.deserialize method opens an object to represent its ASCII components. This allows you to manually parameterize the members of the object. Binary files containing the object data are sequentially numbered and saved under the Vuser directory. This function is not programmable. It is generated by VuGen during recording and automatically associated with the applicable binary files.

When you specify a string value, you also specify an index, but not a method. When you specify an index, you also indicate a method, but not a value.

Return Values

This function returns the value of the specified string or null on error.

Parameterization

You cannot use standard parameterization for any arguments in this function.