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
 
Field Summary
static RStringRecord.Biff7 biff7
           
private  int length
          The length of the label in characters
private  java.lang.String string
          The label
 
Fields inherited from class jxl.read.biff.CellValue
column, format, formattingRecords, initialized, row, sheet, xfIndex
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
RStringRecord(Record t, FormattingRecords fr, SheetImpl si, WorkbookSettings ws, RStringRecord.Biff7 dummy)
          Constructs this object from the raw data
 
Method Summary
 java.lang.String getContents()
          Gets the cell contents as a string
 java.lang.String getString()
          Gets the label
 CellType getType()
          Accessor for the cell type
 
Methods inherited from class jxl.read.biff.CellValue
getCellFormat, getColumn, getRow, getSheet, getXFIndex, isHidden
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface jxl.Cell
getCellFormat, getColumn, getRow, isHidden
 

Field Detail

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
Constructor Detail

RStringRecord

public RStringRecord(Record t,
                     FormattingRecords fr,
                     SheetImpl si,
                     WorkbookSettings ws,
                     RStringRecord.Biff7 dummy)
Constructs this object from the raw data
Parameters:
t - the raw data
fr - the formatting records
si - the sheet
dummy - dummy overload to indicate a biff 7 workbook
Method Detail

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