web stats
Mirth Community - View Single Post - Using Correct Java Sytax in Mirth via Javascript
View Single Post
Old 05-06-2015, 05:29 AM
dre4967 dre4967 is offline
OBX.2 Kenobi
Join Date: Mar 2011
Posts: 64
dre4967 is on a distinguished road

Thanks, I do know how to add the jar in the custom lib and access the java package but I wanted to know for these particular java methods below does anyone know how these would look using them in Mirth. These below are part of the default java library.

// The document is stored in byte form in the FileContent column.
// Retrieve these bytes of the first matching record to a new buffer.
byte[] buffer = resultSet.getBytes("FileContent");

// Wrap the bytes from the buffer into a new ByteArrayInputStream object.
ByteArrayInputStream newStream = new ByteArrayInputStream(buffer);
Webservice to the end, Mirth
Reply With Quote