title: Use java to read metadata/properties of text files (.txt)
body: <p>I have created a a java class that is used to get/set document's metadata (like author, subject etc).<br>
  I use pdfBox Library for pdf files and apache poi library for ms office documents and they 're doing the job perfectly. </p>
  
  <p>My problem is that i  also want to access .txt file properties, but can't find out how to do it. I've used lots of things i've read, but none seems to be working. For txt files i just need to be able to get Creation Date and Modification Date (if possible, i would also like to be able to set Modification Date)</p>
  
  <p>Any ideas?</p>