jxl.demo

Class ReadWrite


public class ReadWrite
extends java.lang.Object

Demo class which uses the api to read in a spreadsheet and generate a clone of that spreadsheet which contains the same data. If the spreadsheet read in is the spreadsheet called jxlrwtest.xls (provided with the distribution) then this class will modify certain fields in the copy of that spreadsheet. This is illustrating that it is possible to read in a spreadsheet, modify a few values, and write it under a new name.

Constructor Summary

ReadWrite(String input, String output)
Constructor

Method Summary

void
readWrite()
Reads in the inputFile and creates a writable copy of it called outputFile

Constructor Details

ReadWrite

public ReadWrite(String input,
                 String output)
Constructor
Parameters:
input -
output -

Method Details

readWrite

public void readWrite()
            throws IOException,
                   jxl.read.biff.BiffException,
                   WriteException
Reads in the inputFile and creates a writable copy of it called outputFile
Throws:
jxl.read.biff.BiffException -