title: How to read tsv file from java and display in table format
body: <p>I write the like reading tsv file with </p>
  
  <pre><code>datarow.splite("\t");
  </code></pre>
  
  <p>but if the tsv file contain <code>"\t"</code> it displaying <code>\t</code> means it is taking <code>\t</code> as normal text</p>
  
  <pre><code>public class Tsv_read{
  
  public static void main(String[] arg) throws Exception {
  
  BufferedReader TSVFile = 
      new BufferedReader(new FileReader("users.tsv"));
  
  String dataRow = TSVFile.readLine(); // Read first line.
  
  while (dataRow != null){
  String[] dataArray = dataRow.split("\t");
  for (String item:dataArray) { 
    System.out.print(item + "  "); 
    }
  System.out.println(); // Print the data line.
  dataRow = TSVFile.readLine(); // Read next line of data.
  }
  // Close the file once all data has been read.
  TSVFile.close();
  
  // End the printout with a blank line.
  System.out.println();
  
   } //main()
  } // TSVRead
  </code></pre>