title: How to detect that mime type is for executable file?
body: <p>I am using Apache Tika to detect the mime type of an input stream
  and I was wondering if there's a ready method to detect that this file is an executable file, there's a big list of executable files mime types here:</p>
  
  <p><a href="http://www.file-extensions.org/filetype/extension/name/program-executable-files" rel="nofollow noreferrer">http://www.file-extensions.org/filetype/extension/name/program-executable-files</a></p>
  
  <p>and I was wondering about the best way to cover them all.</p>