title: Read Excel file and skip empty rows but not empty columns
body: <p>I wish to read an Excel file and skip the empty rows. My code skips empty cells but it skips empty columns, too. How can I skip empty rows but maintain empty columns? I'm using JXL Java.</p>
  
  <pre><code>for (int i = 0; i &lt; sheet.getRows(); i++) {
      for (int j = 0; j &lt; sheet.getColumns(); j++) {
          Cell cell = sheet.getCell(j, i);
          String con = cell.getContents();
          if (con != null &amp;&amp; con.length() != 0) {          
              System.out.print(con);
              System.out.print("|");
          }
          else {
              continue;
          }
      }
  }
  </code></pre>