Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

FTValList.getValString

Gets the string value that is associated with the specified key.

Syntax

Parameters

key
The name of the key.

Returns

The String value associated with the key. If the associated FTVAL is of type FTVAL.I4, the integer is converted to a string and returned. If the key is not found, or the FTVAL is not a string or an integer, then null is returned.

Example

The following code constructs a tiny list and then calls getValString to retrieve the value associated with the sole key:

After running this code, RetrievedValue should hold:

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.