*
*/
- public HSSF(String infile, String outfile, boolean write)
+ public HSSFReadWrite(String infile, String outfile, boolean write)
throws IOException
{
this.filename = infile;
try
{
- HSSF hssf = new HSSF(args[ 0 ]);
+ HSSFReadWrite hssf = new HSSFReadWrite(args[ 0 ]);
System.out.println("Data dump:\n");
HSSFWorkbook wb = hssf.hssfworkbook;
try
{
long time = System.currentTimeMillis();
- HSSF hssf = new HSSF(args[ 0 ], true);
+ HSSFReadWrite hssf = new HSSFReadWrite(args[ 0 ], true);
System.out
.println("" + (System.currentTimeMillis() - time)
System.out.println("readwrite test");
try
{
- HSSF hssf = new HSSF(args[ 0 ]);
+ HSSFReadWrite hssf = new HSSFReadWrite(args[ 0 ]);
// HSSFStream hssfstream = hssf.hssfstream;
HSSFWorkbook wb = hssf.hssfworkbook;
{
try // delete row 0-24, row 74 - 99 && change cell 3 on row 39 to string "MODIFIED CELL!!"
{
- HSSF hssf = new HSSF(args[ 0 ]);
+ HSSFReadWrite hssf = new HSSFReadWrite(args[ 0 ]);
// HSSFStream hssfstream = hssf.hssfstream;
HSSFWorkbook wb = hssf.hssfworkbook;