Hi All,
I want to know how to view the BLOB contents. I was supposed to write in java service, where i have to get the blob content and to show the result in the results panel.
In this case i have written a query where am getting the results in Pipeline out with name results(Document List), now i have called a java service where i have the input as the results. Now how i have to convert them into string and to show the result.
// pipeline
IDataCursor pipelineCursor_1 = pipeline.getCursor();
// result_string
IData result_string = new IData[1];
result_string[0] = IDataFactory.create();
IDataUtil.put( pipelineCursor_1, “result_string”, result_string );
pipelineCursor_1.destroy();
// pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
// content_result
IData[] content_result = IDataUtil.getIDataArray( pipelineCursor, "content_result" );
if ( content_result != null)
{
for ( int i = 0; i < content_result.length; i++ )
{
[B][COLOR=Red] /* LOGIC APPLIES HERE */[/color][/b]
}
}
pipelineCursor.destroy();