jxl.write.biff
Class PasswordRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.PasswordRecord
All Implemented Interfaces:
ByteData

class PasswordRecord
extends WritableRecordData

A password record


Field Summary
private  byte[] data
          The binary data
private  java.lang.String password
          The password
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
PasswordRecord(java.lang.String pw)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

password

private java.lang.String password
The password

data

private byte[] data
The binary data
Constructor Detail

PasswordRecord

public PasswordRecord(java.lang.String pw)
Constructor
Parameters:
pw - the password
Method Detail

getData

public byte[] getData()
Gets the binary data for output to file
Overrides:
getData in class WritableRecordData
Returns:
the binary data