Class PasswordRev4Record

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public final class PasswordRev4Record
    extends StandardRecord
    Protection Revision 4 password Record (0x01BC)

    Stores the (2 byte??!!) encrypted password for a shared workbook

    • Constructor Detail

      • PasswordRev4Record

        public PasswordRev4Record​(int pw)
    • Method Detail

      • setPassword

        public void setPassword​(short pw)
        set the password
        Parameters:
        pw - representing the password
      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
        Returns:
        he id for this record
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()