it happens with me that, I am working on a project with Eclipse. And Suddenly power gone.
And after some times while power come back and i open the project in eclipse, i found my all code gone. and see the Screen with error like below image:

So Please what wrong with that Eclipse ? How to recove that java file from eclipse.
If i go to that file localy and open that file it open in Word with many pages. but with no text.
try the eclipse’s local history..
right click the file –>replace with–>previous from Local History.