File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set values dynamically in a command set

 
Renjith Mohan
Ranch Hand
Posts: 65
Android Chrome Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My aim is to send a few sets of commands to an embedded device via bluetooth. Ideally, those commands look like:



I want to dynamically set the values of NUM and DEV. One way is creating this from scratch (by attaching to StringBuffer) each time it executes. Is there any proper way of implementing?

Can we use placeholders like we do in reporting APIs?

Thanks in advance!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic