1 19 20 package jxl.biff; 21 22 import jxl.read.biff.Record; 23 24 27 public abstract class RecordData 28 { 29 32 private Record record; 33 34 38 private int code; 39 40 45 protected RecordData(Record r) 46 { 47 record = r; 48 code = r.getCode(); 49 } 50 51 56 protected RecordData(Type t) 57 { 58 code = t.value; 59 } 60 61 66 protected Record getRecord() 67 { 68 return record; 69 } 70 71 76 protected final int getCode() 77 { 78 return code; 79 } 80 } 81 82 83 84 85 86 87 88 89 | Popular Tags |