If user is writing in a word file(eg: abc.docx
) and he finishes working and closes this file, I want to get its status that abc.docx
is been close is there any way to find out using java
i am just passing the path of the docx file
File file = new File("abc.docx");
log.info("file {} exits {}",file,file.exists());
i want to get the status either file is opened or closed