Possible Duplicate:
How can I make a copy of a BufferedReader?
I have a method asking for a Reader as parameter :
public List<String> getURI(Reader reader)
In this method, I need to "duplicate" this reader in order to have two TokenStream (one reader for each of them, but both pointing at the same file, string or whatever) so do some sort of :
Reader reader2 = reader;
Since what I've shown above doesn't work, is there an other way to do it?
Thank you for your help.
Regards,
Bdloul