You’ll need to get all of your arrays of Strings inside an
array of Documents.
Here’s sample code that can do this (indents excluded ;D):
//fake input as I don’t know how you get it
String input = new String[3][2];
input[0][0] = “as”;
input[0][1] = “df”;
input[1][0] = “gh”;
input[1][1] = “jk”;
input[2][0] = “lz”;
input[2][1] = “xc”;
//iterate through the array of arrays and put on pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
IData stringArrays = new IData[input.length];
IDataCursor stringArraysCursor;
for(int i = 0; i < input.length; i++)
{
stringArrays[i] = IDataFactory.create();
stringArraysCursor = stringArrays[i].getCursor();
IDataUtil.put(stringArraysCursor, “strings”, input[i]);
stringArraysCursor.destroy();
}
IDataUtil.put(pipelineCursor, “stringArrays”, stringArrays);
pipelineCursor.destroy();