Package org.apache.poi.hssf.record.pivottable

Examples of org.apache.poi.hssf.record.pivottable.ViewFieldsRecord.serialize()


    byte[] data = HexRead.readFromString(hexDump);
    RecordInputStream in = TestcaseRecordInputStream.create(ViewFieldsRecord.sid, data);
    ViewFieldsRecord rec = new ViewFieldsRecord(in);
    assertEquals(0, in.remaining());
    assertEquals(4+data.length, rec.getRecordSize());
    byte[] data2 = rec.serialize();
    TestcaseRecordInputStream.confirmRecordEncoding(ViewFieldsRecord.sid, data, data2);
    return rec;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.