org.openoffice.xmerge.converter.xml.sxc.pexcel.Records
Class BoundSheet
java.lang.Object
|
+--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
|
+--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BoundSheet
- public class BoundSheet
- extends BIFFRecord
Represents a BoundSheet Record which describes the name of a worksheet
Constructor Summary |
BoundSheet(java.io.InputStream is)
Constructs a pocket Excel Document from the
InputStream and assigns it the document name passed in |
BoundSheet(java.lang.String name)
Constructs a pocket Excel Document assigns it the document name passed in |
Method Summary |
short |
getBiffType()
Get the hex code for this particular BIFFRecord |
java.lang.String |
getSheetName()
|
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 |
BoundSheet
public BoundSheet(java.io.InputStream is)
throws java.io.IOException
- Constructs a pocket Excel Document from the
InputStream
and assigns it the document name passed in
- Parameters:
is
- InputStream containing a Pocket Excel Data file.
BoundSheet
public BoundSheet(java.lang.String name)
throws java.io.IOException
- Constructs a pocket Excel Document assigns it the document name passed in
- Parameters:
name
- name of the worksheet represented
getBiffType
public short getBiffType()
- Get the hex code for this particular
BIFFRecord
- Returns:
- the hex code for
BoundSheet
getSheetName
public java.lang.String getSheetName()
throws java.io.IOException
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.
Copyright © 2002 OpenOffice.org