title: Getting MIME type of a File
body: <p>I want to get mimetype of a file can anyone please help me
  I want MIME Type like this...</p>
  
  <pre><code>File file=new File("example.jpeg");
  String MimeTypeOfFile=/*files mimetype*/;
  </code></pre>
  
  <p>Thank You in Advance</p>