for (int j = 0; j < row.length; j++)
{
c = row[j];
if (c.getCellFeatures() != null)
{
CellFeatures features = c.getCellFeatures();
StringBuffer sb = new StringBuffer();
CellReferenceHelper.getCellReference
(c.getColumn(), c.getRow(), sb);
bw.write("Cell " + sb.toString() +
" contents: " + c.getContents());
bw.flush();
bw.write(" comment: " + features.getComment());
bw.flush();
bw.newLine();
}
}
}