jxl.read.biff
Class RStringRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.read.biff.CellValue
|
+--jxl.read.biff.RStringRecord
- All Implemented Interfaces:
- Cell, LabelCell
- class RStringRecord
- extends CellValue
- implements LabelCell
A label which is stored in the cell
Inner Class Summary |
private static class |
RStringRecord.Biff7
Dummy indicators for overloading the constructor |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
length
private int length
- The length of the label in characters
string
private java.lang.String string
- The label
biff7
public static RStringRecord.Biff7 biff7
RStringRecord
public RStringRecord(Record t,
FormattingRecords fr,
SheetImpl si,
RStringRecord.Biff7 dummy)
- Constructs this object from the raw data
- Parameters:
t
- the raw datafr
- the formatting recordssi
- the sheetdummy
- dummy overload to indicate a biff 7 workbook
getString
public java.lang.String getString()
- Gets the label
- Specified by:
getString
in interface LabelCell
- Returns:
- the label
getContents
public java.lang.String getContents()
- Gets the cell contents as a string
- Specified by:
getContents
in interface Cell
- Returns:
- the label
getType
public CellType getType()
- Accessor for the cell type
- Specified by:
getType
in interface Cell
- Returns:
- the cell type