public final class SupBookRecord extends StandardRecord
REFERENCE: 5.38
Modifier and Type | Field and Description |
---|---|
protected static char |
CH_ALT_STARTUP_DIR |
protected static char |
CH_DOWN_DIR |
protected static char |
CH_LIB_DIR |
protected static char |
CH_LONG_VOLUME |
protected static char |
CH_SAME_VOLUME |
protected static char |
CH_STARTUP_DIR |
protected static char |
CH_UP_DIR |
protected static char |
CH_VOLUME |
protected static String |
PATH_SEPERATOR |
static short |
sid |
Constructor and Description |
---|
SupBookRecord(RecordInputStream in)
called by the constructor, should set class level fields.
|
SupBookRecord(String url,
String[] sheetNames) |
Modifier and Type | Method and Description |
---|---|
static SupBookRecord |
createAddInFunctions() |
static SupBookRecord |
createExternalReferences(String url,
String[] sheetNames) |
static SupBookRecord |
createInternalReferences(short numberOfSheets) |
protected int |
getDataSize() |
short |
getNumberOfSheets() |
String[] |
getSheetNames() |
short |
getSid()
return the non static version of the id for this record.
|
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(String pUrl) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
clone, cloneViaReserialise, serialize
public static final short sid
protected static final char CH_VOLUME
protected static final char CH_SAME_VOLUME
protected static final char CH_DOWN_DIR
protected static final char CH_UP_DIR
protected static final char CH_LONG_VOLUME
protected static final char CH_STARTUP_DIR
protected static final char CH_ALT_STARTUP_DIR
protected static final char CH_LIB_DIR
protected static final String PATH_SEPERATOR
public SupBookRecord(RecordInputStream in)
in
- the stream to read frompublic static SupBookRecord createInternalReferences(short numberOfSheets)
public static SupBookRecord createAddInFunctions()
public static SupBookRecord createExternalReferences(String url, String[] sheetNames)
public boolean isExternalReferences()
public boolean isInternalReferences()
public boolean isAddInFunctions()
public String toString()
Record
protected int getDataSize()
getDataSize
in class StandardRecord
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize
in class StandardRecord
public void setNumberOfSheets(short number)
public short getNumberOfSheets()
public short getSid()
Record
public String getURL()
public String[] getSheetNames()
public void setURL(String pUrl)
Copyright © 2020. All rights reserved.