AbstractLowCodeProtectionProvider

Inheritance: java.lang.Object

public class AbstractLowCodeProtectionProvider

Implementation to provide protection settings

Constructors

ConstructorDescription
AbstractLowCodeProtectionProvider()

Methods

MethodDescription
equals(Object arg0)
getClass()
getOpenPassword()Gets the password to open spread sheet file.
getWorkbookPassword()Gets the password to protect the workbook with specified protection type.
getWorkbookProtectionType()Gets the protection type to protect the workbook.
getWorksheetPassword(String sheetName)Gets the password to protect the specified worksheet.
getWorksheetProtectionType(String sheetName)Gets the protection type to protect the specified worksheet.
getWritePassword()Gets the password to modify spread sheet file.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AbstractLowCodeProtectionProvider()

public AbstractLowCodeProtectionProvider()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOpenPassword()

public String getOpenPassword()

Gets the password to open spread sheet file.

Returns: java.lang.String - Password to open spread sheet file. Empty means no protection for openning the filel.

getWorkbookPassword()

public String getWorkbookPassword()

Gets the password to protect the workbook with specified protection type.

Returns: java.lang.String - Password to protect the workbook.

getWorkbookProtectionType()

public int getWorkbookProtectionType()

Gets the protection type to protect the workbook.

Returns: int - ProtectionType. Protection type to protect the workbook. ProtectionType.NONE means no protection for the workbook.

getWorksheetPassword(String sheetName)

public String getWorksheetPassword(String sheetName)

Gets the password to protect the specified worksheet.

Parameters:

ParameterTypeDescription
sheetNamejava.lang.String

Returns: java.lang.String - Password to protect the specified worksheet.

getWorksheetProtectionType(String sheetName)

public int getWorksheetProtectionType(String sheetName)

Gets the protection type to protect the specified worksheet.

Parameters:

ParameterTypeDescription
sheetNamejava.lang.String

Returns: int - ProtectionType. Protection type to protect the specified worksheet. ProtectionType.NONE means no protection for the worksheet.

getWritePassword()

public String getWritePassword()

Gets the password to modify spread sheet file.

Returns: java.lang.String - Password to modify the spread sheet file. Empty means no protection for modifying the file.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int