title: Read File/Directory properties with java
body: <p>How can I read the file information (for example size, line count, last modification, etc) from a file in the file-system or the directory content with Java? I presently working on linux operating system. Kindly give some ideas particularly for Linux OS. </p>
  
  <p>Thanks in Advance.</p>