first commit
This commit is contained in:
26
hrmsEjb/jxl/biff/RecordData.java
Normal file
26
hrmsEjb/jxl/biff/RecordData.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package jxl.biff;
|
||||
|
||||
import jxl.read.biff.Record;
|
||||
|
||||
public abstract class RecordData {
|
||||
private Record record;
|
||||
|
||||
private int code;
|
||||
|
||||
protected RecordData(Record r) {
|
||||
this.record = r;
|
||||
this.code = r.getCode();
|
||||
}
|
||||
|
||||
protected RecordData(Type t) {
|
||||
this.code = t.value;
|
||||
}
|
||||
|
||||
protected Record getRecord() {
|
||||
return this.record;
|
||||
}
|
||||
|
||||
protected final int getCode() {
|
||||
return this.code;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user