Hi

Is it possible to do something like this:

int myGroupSize = 100;
.split(body().tokenize("\n", myGroupSize), new myAggStrategy()) ?

The above doesn't work because the tokenize methods on the
ValueBuilder don't take groups. The following compiles but is it the
best way/can someone see if it obviously won't work?

TokenizeLanguage language = new TokenizeLanguage();
language.setToken("\n");
language.setGroup(myGroupSize);
language.setIncludeTokens(true);
.split(new ValueBuilder(language.createExpression(null)), new myAggStrategy())..

Cheers,

Tom

Reply via email to