Hi friends, Is it possible to re-read a stream from the beginning... I was advised to use mark method, but i'm not getting any clear idea for the problem.Can u help me...Venkatesh P.
[211 byte] By [Venkat-123a] at [2007-11-27 5:40:45]
Some streams support the mark() call (see markSupported() method). But it doesn't necessarily allow you to seek back to the beginning. Can you replace the stream and for example buffer the data? (RandomAccessFile for files would work nicely).