gjones
Jan 9th, 2008, 08:03 AM
I'm trying to write a byte array to a flat file using the FlatFileOutputSource.
In the convertAndWrite function, I'm getting a class cast exception on the following line:
Object[] array = (Object[]) data;
(data is of type byte)
Is this the desired functionality or am I off base?
Also, trying to write this out as a continuous stream, with no line breaks. Should I be using the FlatFileOutputSource, extend it or roll my own?
In the convertAndWrite function, I'm getting a class cast exception on the following line:
Object[] array = (Object[]) data;
(data is of type byte)
Is this the desired functionality or am I off base?
Also, trying to write this out as a continuous stream, with no line breaks. Should I be using the FlatFileOutputSource, extend it or roll my own?