Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, from what I've read in other forum entries, it's not possible to use binary files as an input. I DO know the exact data structure and I have a little plain Java source snippet which is capable extracting the data from the binary file.
Is there any way I can use that little Java snippet as a generator for an input, just like the tFileInput..... components are?
In an ideal world, I would fill the output_row fields within each iteration of my Java loop, just like that:
output_row.field1 = field1;
output_row.field2 = field2;
...
Any advise would be appreciated.
java.util.Iterator<Tick> al = ((java.util.ArrayList<Tick>)globalMap.get("ticks")).iterator();
while (al.hasNext()) {
Tick ti = al.next();
row2.milliseconds = ti.getMilliseconds();
row2.ask = ti.getAsk();
row2.bid = ti.getBid();
row2.askv = ti.getAskv();
row2.bidv = ti.getBidv();
}
java.util.Iterator<Tick> al = ((java.util.ArrayList<Tick>)globalMap.get("ticks")).iterator();
while (al.hasNext()) {
Tick ti = al.next();
row2.milliseconds = ti.getMilliseconds();
row2.ask = ti.getAsk();
row2.bid = ti.getBid();
row2.askv = ti.getAskv();
row2.bidv = ti.getBidv();
}