title: Estimate if file is MIME type
body: <p>This method should be check if a file is MIME type. To achieve this goal I am using method <a href="http://openjdk.java.net/projects/nio/javadoc/java/nio/file/spi/FileTypeDetector.html#probeContentType%28java.nio.file.Path%29">probeContentType()</a>.<br>
  However maybe is another way to decide same question. Which are the other alternatives (if there are any)?</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>class ProbeContentTypeCheker implements Checker {
  
      @Override
      public boolean check(File fileCheck) {
          try {
              Path filePath = FileSystems.getDefault().getPath(
                      fileCheck.getAbsolutePath());
              if ((Files.probeContentType(filePath) != null)) {
                  return true;
              }
          } catch (IOException e) {
              e.printStackTrace();
          }
  
          return false;
      }
  }
  </code></pre>
  
  <p><strong>Question:</strong>  </p>
  
  <ul>
  <li>Are there other alternatives to check MIME type in files?</li>
  </ul>