title: Workbook.getWorkbook() error in JExcel API
body: <p>I am using JExcel API for reading a .xls file in Eclipse. Here is my code:</p>
  
  <pre><code>import jxl.*;
  import java.io.File;
  
  public class JExcelDemoClass 
  {
      public static void main(String[] args)
      {
          try
          {
              Workbook wrk1=new Workbook.getWorkbook("C:\\Test.xls");
              Sheet sheet1=wrk1.getSheet(0);
              Cell col1row1=sheet1.getCell(0,0);
              Cell col1row2=sheet1.getCell(0,1);
              Cell col1row3=sheet1.getCell(0,2);
              String get_col1row1=col1row1.getContents();
              String get_col1row2=col1row2.getContents();
              String get_col1row3=col1row3.getContents();
              System.out.println(get_col1row1);
              System.out.println(get_col1row2);
              System.out.println(get_col1row3);
          }
          catch(Exception e)
          {
              System.out.println("Error");
          }
  
      }
  }
  </code></pre>
  
  <p>When i try to run this code, Eclipse gives me error</p>
  
  <p><strong>Workbook.getWorkbook cannot be resolved to a type</strong><br>
  Any idea why I am getting this error ?</p>