Files
HRMS/hrmsEjb/jxl/read/biff/ProtectRecord.java
2025-07-28 13:56:49 +05:30

20 lines
388 B
Java

package jxl.read.biff;
import jxl.biff.IntegerHelper;
import jxl.biff.RecordData;
class ProtectRecord extends RecordData {
private boolean prot;
ProtectRecord(Record t) {
super(t);
byte[] data = getRecord().getData();
int protflag = IntegerHelper.getInt(data[0], data[1]);
this.prot = (protflag == 1);
}
boolean isProtected() {
return this.prot;
}
}