public class WriteProtection
Constructor Summary |
---|
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String | getAuthor() | |
void | setAuthor(java.lang.Stringvalue) | |
Gets and sets the author. | ||
boolean | isWriteProtected() | |
Indicates whether this workbook is write protected.
|
||
void | setPassword(java.lang.String value) | |
Sets the protected password to modify the file.
|
||
boolean | getRecommendReadOnly() | |
void | setRecommendReadOnly(booleanvalue) | |
Indicates if the Read Only Recommended option is selected. |
Method Summary | ||
---|---|---|
boolean | validatePassword(java.lang.String password) | |
Returns true if the specified password is the same as the write-protection password the file was protected with.
|
public java.lang.String getAuthor() / public void setAuthor(java.lang.String value)
public boolean getRecommendReadOnly() / public void setRecommendReadOnly(boolean value)
public boolean isWriteProtected()
public void setPassword(java.lang.String value)