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.

 

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.

 

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