|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.RecordData | +--jxl.biff.WritableRecordData | +--jxl.write.biff.PasswordRecord
A password record. Thanks to Michael Matthews for sending me the code to actually store the password for the sheet
Field Summary | |
private byte[] |
data
The binary data |
private java.lang.String |
password
The password |
Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
Fields inherited from class jxl.biff.RecordData |
code, record |
Constructor Summary | |
PasswordRecord(int ph)
Constructor |
|
PasswordRecord(java.lang.String pw)
Constructor |
Method Summary | |
byte[] |
getData()
Gets the binary data for output to file |
private int |
rotLeft15Bit(int val,
int rotate)
Rotate the value by 15 bits. |
Methods inherited from class jxl.biff.WritableRecordData |
getBytes, handleContinueRecords |
Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String password
private byte[] data
Constructor Detail |
public PasswordRecord(java.lang.String pw)
pw
- the passwordpublic PasswordRecord(int ph)
ph
- the password hash codeMethod Detail |
public byte[] getData()
getData
in class WritableRecordData
private int rotLeft15Bit(int val, int rotate)
val
- rotate
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |