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 long
HAS_SELF_RELATIVE_SECURITY_FEATURE
static long
NO_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 FeatProtection
copy()
int
getDataSize()
int
getFSD()
Map<String,Supplier<?>>
getGenericProperties()
int
getPasswordVerifier()
String
getTitle()
void
serialize(LittleEndianOutput out)
void
setPasswordVerifier(int passwordVerifier)
void
setTitle(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:
serialize
in interfaceSharedFeature
-
getDataSize
public int getDataSize()
- Specified by:
getDataSize
in 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:
copy
in interfaceSharedFeature
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
-