Package org.apache.poi.hssf.record
Class PasswordRev4Record
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.PasswordRev4Record
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
Protection Revision 4 password Record (0x01BC)
Stores the (2 byte??!!) encrypted password for a shared workbook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()shortgetSid()return the non static version of the id for this record.voidvoidsetPassword(short pw) set the passwordMethods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
PasswordRev4Record
public PasswordRev4Record(int pw) -
PasswordRev4Record
-
PasswordRev4Record
-
-
Method Details
-
setPassword
public void setPassword(short pw) set the password- Parameters:
pw- representing the password
-
serialize
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
-