FileDocCategorySizeDatePackage
NewWorkbook.javaAPI DocApache Poi 3.0.11549Mon Jan 01 12:39:42 GMT 2007org.apache.poi.hssf.usermodel.examples

NewWorkbook

public class NewWorkbook extends Object
This example creates a new blank workbook. This workbook will contain a single blank sheet.
author
Glen Stampoultzis (glens at apache.org)

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        HSSFWorkbook wb = new HSSFWorkbook();
        FileOutputStream fileOut = new FileOutputStream("workbook.xls");
        wb.write(fileOut);
        fileOut.close();