S
suru
Hi,
do we any api in java by which i can have random access over input
stream.
i know randomaccess class which gives random access over a file.
but my requirement is,
i'll execute grep command by runtime exec.
then read grep command's output using inputstream (using buffered
reader e.g.)
i want to display this output on ui and also user can navigate result
using next & previous button.
therefore for this next & previous navigation through result i want
random access over input stream
also i dont want to store grep's result in file, since result could
be very large in size..
any idea, how to handle such situations?
do we any api in java by which i can have random access over input
stream.
i know randomaccess class which gives random access over a file.
but my requirement is,
i'll execute grep command by runtime exec.
then read grep command's output using inputstream (using buffered
reader e.g.)
i want to display this output on ui and also user can navigate result
using next & previous button.
therefore for this next & previous navigation through result i want
random access over input stream
also i dont want to store grep's result in file, since result could
be very large in size..
any idea, how to handle such situations?