title: Importing a CSV File into Java
body: <p>In the program I am writing, I want to be able to import CSV files. At the moment, it takes a basic text file in.</p>
  
  <pre><code>File mainemails = new File ("mainemails.txt");
  </code></pre>
  
  <p>I know that for CSV imports using File is probably not the most time-efficient thing to use. What would be the most efficient way to import a CSV file? Would I have to download any new libraries to use an efficient method?</p>