I have an InputStream of which I read data to log it on the screen. Then, this data I wish to pass it to an StaxParser. However the staxparser doesn't know to feed continuously from string,but rather input stream.
So I would like to clone the same inputstream to read both from it.
Do you have any better idea? If not, how can I clone the InputStreams?
Kind regards,