AnsweredAssumed Answered

SDK parseInState() api question

Question asked by sdetweil2 on Aug 6, 2015
Latest reply on Feb 4, 2016 by sdetweil2

the sdk java doc says

 

parseInState(java.lang.String sContent, java.util.Map state)

Method for taking an incoming String that is expected to have property tags in it (those are the {{key}} things), and parse into a return String the value side of those keys.

 

the words here are confusing.

 

the parse verb implies separating a large entity to many smaller entities

 

>and parse into a return String the value side of those keys.

 

which I THINK said,

 

and return a string with the referenced property values substituted

 

if this is right, I think a better name would have been

 

String = resolveWithState(String), or

String = resolveWithProperties(String.. etc)

Outcomes