first commit
This commit is contained in:
25
hrmsEjb/jxl/write/biff/WriteAccessRecord.java
Normal file
25
hrmsEjb/jxl/write/biff/WriteAccessRecord.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.Workbook;
|
||||
import jxl.biff.StringHelper;
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class WriteAccessRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
private static final String authorString = "Java Excel API";
|
||||
|
||||
public WriteAccessRecord() {
|
||||
super(Type.WRITEACCESS);
|
||||
this.data = new byte[112];
|
||||
String astring = "Java Excel API v" + Workbook.getVersion();
|
||||
StringHelper.getBytes(astring, this.data, 0);
|
||||
for (int i = astring.length(); i < this.data.length; i++)
|
||||
this.data[i] = 32;
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user