first commit
This commit is contained in:
21
hrmsEjb/jxl/read/biff/PasswordRecord.java
Normal file
21
hrmsEjb/jxl/read/biff/PasswordRecord.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package jxl.read.biff;
|
||||
|
||||
import jxl.biff.IntegerHelper;
|
||||
import jxl.biff.RecordData;
|
||||
import jxl.biff.Type;
|
||||
|
||||
class PasswordRecord extends RecordData {
|
||||
private String password;
|
||||
|
||||
private int passwordHash;
|
||||
|
||||
public PasswordRecord(Record t) {
|
||||
super(Type.PASSWORD);
|
||||
byte[] data = t.getData();
|
||||
this.passwordHash = IntegerHelper.getInt(data[0], data[1]);
|
||||
}
|
||||
|
||||
public int getPasswordHash() {
|
||||
return this.passwordHash;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user