Thank you.
Starting from CachingTokenFilter was indeed the correct way to proceed.

Regards
Enrico


2009/10/8 Uwe Schindler <u...@thetaphi.de>

> restoreState only restores the token contents, not the complete stream. So
> you cannot roll back the token stream (and this was also not possible with
> the old API). The while loop at the end of you code is not working as you
> exspect because of this. You may use CachingTokenFilter, which can be reset
> and consumed again, as a source for further work.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>

Reply via email to