Class FeatProtection
- java.lang.Object
-
- org.apache.poi.hssf.record.common.FeatProtection
-
- All Implemented Interfaces:
SharedFeature
public final class FeatProtection extends java.lang.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(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDataSize()
int
getFSD()
int
getPasswordVerifier()
java.lang.String
getTitle()
void
serialize(LittleEndianOutput out)
void
setPasswordVerifier(int passwordVerifier)
void
setTitle(java.lang.String title)
java.lang.String
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(RecordInputStream in)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceSharedFeature
- Overrides:
toString
in classjava.lang.Object
-
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 java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getFSD
public int getFSD()
-
-