1 19 20 package jxl.write.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.IntegerHelper; 24 import jxl.biff.WritableRecordData; 25 26 30 class BackupRecord extends WritableRecordData 31 { 32 35 private boolean backup; 36 39 private byte[] data; 40 41 46 public BackupRecord(boolean bu) 47 { 48 super(Type.BACKUP); 49 50 backup = bu; 51 52 data = new byte[2]; 54 55 if (backup) 56 { 57 IntegerHelper.getTwoBytes(1, data, 0); 58 } 59 } 60 61 66 public byte[] getData() 67 { 68 return data; 69 } 70 } 71 | Popular Tags |