title: How to scan a S3 file by command line in a Java application?
body: <p>I need to scan a s3 object (jpeg, pdf) in my java application by Eset virus scanner.</p>
  
  <pre><code>S3Object s3Object = s3Client.getObject("bucket", "key);
  </code></pre>
  
  <p>So I get S3 object and here is the command line that I should use</p>
  
  <pre><code>@SBINDIR@/esets_scan [option(s)] FILES
  </code></pre>
  
  <p>How can I use this command line in a java application?</p>