/**
* Dumps out the contents of the excel file
*/
private void display(WorkbookSettings ws) throws IOException
{
Record r = null;
boolean found = false;
while (reader.hasNext() && !found)
{
r = reader.next();
if (r.getType() == Type.WRITEACCESS)
{
found = true;
}
}
if (!found)
{
System.err.println("Warning: could not find write access record");
return;
}
byte[] data = r.getData();
String s = null;
s = StringHelper.getString(data, data.length, 0, ws);