Class FeatProtection
- java.lang.Object
-
- org.apache.poi.hssf.record.common.FeatProtection
-
- All Implemented Interfaces:
GenericRecord,SharedFeature
public final class FeatProtection extends Object implements SharedFeature
Title: FeatProtection (Protection Shared Feature) common record partThis record part specifies Protection data for a sheet, stored as part of a Shared Feature. It can be found in records such as
FeatRecord
-
-
Field Summary
Fields Modifier and Type Field Description static longHAS_SELF_RELATIVE_SECURITY_FEATUREstatic longNO_SELF_RELATIVE_SECURITY_FEATURE
-
Constructor Summary
Constructors Constructor Description FeatProtection()FeatProtection(FeatProtection other)FeatProtection(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatProtectioncopy()intgetDataSize()intgetFSD()Map<String,Supplier<?>>getGenericProperties()intgetPasswordVerifier()StringgetTitle()voidserialize(LittleEndianOutput out)voidsetPasswordVerifier(int passwordVerifier)voidsetTitle(String title)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Methods inherited from interface org.apache.poi.hssf.record.common.SharedFeature
toString
-
-
-
-
Field Detail
-
NO_SELF_RELATIVE_SECURITY_FEATURE
public static final long NO_SELF_RELATIVE_SECURITY_FEATURE
- See Also:
- Constant Field Values
-
HAS_SELF_RELATIVE_SECURITY_FEATURE
public static final long HAS_SELF_RELATIVE_SECURITY_FEATURE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FeatProtection
public FeatProtection()
-
FeatProtection
public FeatProtection(FeatProtection other)
-
FeatProtection
public FeatProtection(RecordInputStream in)
-
-
Method Detail
-
serialize
public void serialize(LittleEndianOutput out)
- Specified by:
serializein interfaceSharedFeature
-
getDataSize
public int getDataSize()
- Specified by:
getDataSizein interfaceSharedFeature
-
getPasswordVerifier
public int getPasswordVerifier()
-
setPasswordVerifier
public void setPasswordVerifier(int passwordVerifier)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getFSD
public int getFSD()
- Returns:
- Self Relative
-
copy
public FeatProtection copy()
- Specified by:
copyin interfaceSharedFeature
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-