Files
HRMS/hrmsEjb/jxl/read/biff/ErrorRecord.java
2025-07-28 13:56:49 +05:30

28 lines
563 B
Java

package jxl.read.biff;
import jxl.CellType;
import jxl.ErrorCell;
import jxl.biff.FormattingRecords;
class ErrorRecord extends CellValue implements ErrorCell {
private int errorCode;
public ErrorRecord(Record t, FormattingRecords fr, SheetImpl si) {
super(t, fr, si);
byte[] data = getRecord().getData();
this.errorCode = data[6];
}
public int getErrorCode() {
return this.errorCode;
}
public String getContents() {
return "ERROR " + this.errorCode;
}
public CellType getType() {
return CellType.ERROR;
}
}