Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
But I don't know how to create one. And, is it possible to call it from the tMap ?
package routines;
public class Forum6799 {
public static Object ByteArrayFromFile(String filePath) {
try {
java.io.FileInputStream fis = new java.io.FileInputStream(filePath);
byte[] incoming_file_data = new byte;
fis.read(incoming_file_data);
fis.close();
return incoming_file_data;
} catch (Exception err) {
err.printStackTrace();
return null;
}
}
}