Fix constructors for new naming

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2009-10-26 13:08:21 +00:00
parent 49174d4e3f
commit 8d7f1bb83a

View File

@ -180,7 +180,7 @@ public class HSSFReadWrite
*
*/
public HSSF(String infile, String outfile, boolean write)
public HSSFReadWrite(String infile, String outfile, boolean write)
throws IOException
{
this.filename = infile;
@ -223,7 +223,7 @@ public class HSSFReadWrite
try
{
HSSF hssf = new HSSF(args[ 0 ]);
HSSFReadWrite hssf = new HSSFReadWrite(args[ 0 ]);
System.out.println("Data dump:\n");
HSSFWorkbook wb = hssf.hssfworkbook;
@ -288,7 +288,7 @@ public class HSSFReadWrite
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)
@ -304,7 +304,7 @@ public class HSSFReadWrite
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;
@ -329,7 +329,7 @@ public class HSSFReadWrite
{
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;