I have a java program that generates random alphanumeric character.
Code: Select all
import java.lang.*;
import java.util.*;
public class bmid
{
public static final void main(String args[])
{
char AB[] ={'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
Random rnd = new Random();
int len = 20;
StringBuilder sb = new StringBuilder( len );
for( int i = 0; i < len; i++ ) sb.append( AB[ rnd.nextInt(AB.length) ] );
String test = sb.toString();
System.out.println(test);
}
}
Now, I want to redirect the output of this program to one of my field in the output card of my DSTx map.
After a lot of finding i figured out that I need to use GET function along with JAVA adapter.
But i donot know the exact syntax. Been working on this for a week or so but couldnt find any solution.
Can somebody please help me out.
Thanks in advance..