I want to raise the some event in Java after finishing the reading of file so that the handler can catch the event and proceed to next task .I am not able to find the existing event in Java which raise after finishing the reading of file.
is their any way to do so,or any other alternative for that.
You can use Observer Design Pattern.
The Class that initiates the reading of file and will get the notification after the file is read.
Class that will read the file and after the reading it will notify the Observers that the file reading is finished.