public final class SupBookRecord extends StandardRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
SupBookRecord(RecordInputStream in)
called by the constructor, should set class level fields.
|
SupBookRecord(java.lang.String url,
java.lang.String[] sheetNames) |
SupBookRecord(SupBookRecord other) |
| Modifier and Type | Method and Description |
|---|---|
SupBookRecord |
copy() |
static SupBookRecord |
createAddInFunctions() |
static SupBookRecord |
createExternalReferences(java.lang.String url,
java.lang.String[] sheetNames) |
static SupBookRecord |
createInternalReferences(short numberOfSheets) |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getNumberOfSheets() |
java.lang.String[] |
getSheetNames() |
short |
getSid()
return the non static version of the id for this record.
|
java.lang.String |
getURL() |
boolean |
isAddInFunctions() |
boolean |
isExternalReferences() |
boolean |
isInternalReferences() |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setNumberOfSheets(short number) |
void |
setURL(java.lang.String pUrl) |
getRecordSize, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic static final short sid
public SupBookRecord(SupBookRecord other)
public SupBookRecord(java.lang.String url,
java.lang.String[] sheetNames)
public SupBookRecord(RecordInputStream in)
in - the stream to read frompublic static SupBookRecord createInternalReferences(short numberOfSheets)
public static SupBookRecord createAddInFunctions()
public static SupBookRecord createExternalReferences(java.lang.String url, java.lang.String[] sheetNames)
public boolean isExternalReferences()
public boolean isInternalReferences()
public boolean isAddInFunctions()
protected int getDataSize()
getDataSize in class StandardRecordpublic void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize in class StandardRecordout - the output objectpublic void setNumberOfSheets(short number)
public short getNumberOfSheets()
public short getSid()
Recordpublic java.lang.String getURL()
public java.lang.String[] getSheetNames()
public void setURL(java.lang.String pUrl)
public SupBookRecord copy()
copy in interface Duplicatablecopy in class StandardRecordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.