title: how to import csv file into mongodb in Java
body: <p>I'm using EclipseLink as API for mongodb. I need to update my database each time from given csv files.
  Is there any way to import a CSV file into MongoDB with java?
  or is it possible to execute a raw mongo command like this in java enviroment?</p>
  
  <pre><code>mongoimport --db users --collection contacts --type csv --file /opt/backups/contacts.csv
  </code></pre>