OpenOffice.org
XMerge API

org.openoffice.xmerge.converter.xml.sxc.pexcel.Records
Class BeginningOfFile

java.lang.Object
  |
  +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
        |
        +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BeginningOfFile

public class BeginningOfFile
extends BIFFRecord

This class describes the beginning of file. It is the the Biff record that marks the beginning of a a worbook or the beginning of worksheets in the workbook


Constructor Summary
BeginningOfFile(boolean global)
          Constructor that initializes the member values.
BeginningOfFile(java.io.InputStream is)
           
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
           
 void write(java.io.OutputStream output)
          Writes the record, including the BIFF record byte to the outputstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeginningOfFile

public BeginningOfFile(boolean global)
Constructor that initializes the member values.
Parameters:
ver - Version Number Substream type (workbook = 0x05, worksheet = 0x10)

BeginningOfFile

public BeginningOfFile(java.io.InputStream is)
                throws java.io.IOException
Method Detail

getBiffType

public short getBiffType()
Get the hex code for this particular BIFFRecord
Returns:
the hex code for BeginningOfFile

read

public int read(java.io.InputStream input)
         throws java.io.IOException

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Description copied from class: BIFFRecord
Writes the record, including the BIFF record byte to the outputstream
Overrides:
write in class BIFFRecord
Following copied from class: org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
Parameters:
output - The output stream to write to in LittleEndian format.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org