Curtney Jacobs wrote:
How do I programatically set a field-value pair in the muli-purpose info field within a message node?

If you use the bridge, you can do this with:

  nodemanager.getInfo("SETINFOFIELD-fieldname-value")

If you sue MMObjectBuilder instances, you can do this with:

  StringTokenizer tokens =
     new StringTokenizer("SETINFOFIELD-fieldname-value","-");
  builder.replace(null,tokens);

Note that you cannot use a "-" in your value witht hsi approach 9at least not in the bridge: if you use MMObjectBuilder, you can use a different symbol when you tokenize the inputstring.)

--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Never summon anything bigger than your head."




Reply via email to