On 11/22/2013 01:32 AM, Walrus theCat wrote:
Ok, to conclude, the*only* way I could get the CrossValidator to work is
to construct the PlainTextByLineStream with a FileChannel (with UTF-8
encoding). I could only do this by printing my String[] to a temporary
file. This has solved my problem, but is obviously not optimal. Thanks
for the suggestion, William
The Cross Validator needs to go multiple times through the data, we
implemented that by
calling reset on the stream, but in Java not all streams support that
and as far as I know
there is no good way to test if a stream supports it or not.
Maybe we should try to enhance the error message a bit, so it is clear
to people what the problem
is.
Jörn