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, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public 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 StandardRecord
public 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 StandardRecord
out
- the output objectpublic void setNumberOfSheets(short number)
public short getNumberOfSheets()
public short getSid()
Record
public java.lang.String getURL()
public java.lang.String[] getSheetNames()
public void setURL(java.lang.String pUrl)
public SupBookRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.