Products Downloads


French version


 


This ".properties" file management function is used to create or modify the value of a key.

The key value is a character string.


Context

  • Java client,

  • Java server,

  • Adelia Cloud client,

  • Event Adelia client.


Parameters

ALPHA(n)

FileName

Name of the file.

ALPHA(n)

KeyName

Name of the key whose value is to be created or modified.

ALPHA(n)

NewKeyValue

New value of the key.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was successful.

*FALSE  if the operation failed.


The file is searched for relatively, either in the current VFS (Adelia Cloud) directory, or in the user.dir directory (normally the directory in which the Java virtual machine (JVM) is run).


Note: If the FileName parameter does not contain the file access path, the system searches for it relative to the Classpath (using the ResourceBundle class); if it does, the Properties class is used to manage the keys.


Example

FileName = 'Parameters.properties'

KeyName = 'Version'

NewKeyValue = '1.4 beta'

ReturnCode = *FALSE


CALL_DLL 'VATOOLBX.DLL' 'VaToolBxJavaSetValue' FileName KeyName NewKeyValue ReturnCode


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette