first commit
This commit is contained in:
23
hrmsEjb/jxl/write/biff/PLSRecord.java
Normal file
23
hrmsEjb/jxl/write/biff/PLSRecord.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class PLSRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
public PLSRecord(jxl.read.biff.PLSRecord hr) {
|
||||
super(Type.PLS);
|
||||
this.data = hr.getData();
|
||||
}
|
||||
|
||||
public PLSRecord(PLSRecord hr) {
|
||||
super(Type.PLS);
|
||||
this.data = new byte[hr.data.length];
|
||||
System.arraycopy(hr.data, 0, this.data, 0, this.data.length);
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user