blackfyre
blackfyre

Reputation: 2579

how to check if an excel file is password protected using jxl

I am trying to write and read a password protected excel file, I found that I can set and reset a password by using "com.jexcel.util.ExcelAdapter" library. But I could not find a method to check if file is protected.

Can any one guide me?

Thanks!

Upvotes: 0

Views: 1191

Answers (1)

Hakan Serce
Hakan Serce

Reputation: 11256

I guess this is what you want: Workbook.isProtected()

Upvotes: 1

Related Questions