I would like to ask that, how to show "writing in a text file" on consoles ?
i.e. if i am writing some content in a file say abc.txt using a
java program, then
while writing in a file, how can i show updated file contents on other console (ie. other than my currently running java program console).
I want to do two things simultaneously:
1. Updating contents of a file using java program
2. Showing upadated contents each time (when a line gets written to a file)
on another console.
(I have already opened one extra console to show write operation in a file).
I am not supposed to use any
applet or awt component.Which APIs would are expected to suffice?
Thank You,
Regards,
Amit Pandit.