POI保护工作表

org.apache.poi.ss.usermodel 
Interface Sheet

All Superinterfaces:
java.lang.Iterable< Row>
All Known Implementing Classes:
HSSFSheetSXSSFSheetXSSFChartSheetXSSFDialogsheetXSSFSheet

protectSheet

void protectSheet(java.lang.String password)
Sets the protection enabled as well as the password
Parameters:
password - to set for protection. Pass  null to remove protection

猜你喜欢

转载自billmingchen.iteye.com/blog/1920823