1 19 20 package jxl.read.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.IntegerHelper; 24 import jxl.biff.RecordData; 25 26 29 class PasswordRecord extends RecordData 30 { 31 34 private String password; 35 38 private int passwordHash; 39 40 45 public PasswordRecord(Record t) 46 { 47 super(Type.PASSWORD); 48 49 byte[] data = t.getData(); 50 passwordHash = IntegerHelper.getInt(data[0], data[1]); 51 } 52 53 58 public int getPasswordHash() 59 { 60 return passwordHash; 61 } 62 } 63 | Popular Tags |