Class SupBookRecord

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public final class SupBookRecord
    extends StandardRecord
    A External Workbook Description (Supplemental Book). Its only a dummy record for making new ExternSheet Record
    • Constructor Detail

      • SupBookRecord

        public SupBookRecord​(java.lang.String url,
                             java.lang.String[] sheetNames)
      • SupBookRecord

        public SupBookRecord​(RecordInputStream in)
        called by the constructor, should set class level fields. Should throw runtime exception for bad/incomplete data.
        Parameters:
        in - the stream to read from
    • Method Detail

      • createInternalReferences

        public static SupBookRecord createInternalReferences​(short numberOfSheets)
      • createAddInFunctions

        public static SupBookRecord createAddInFunctions()
      • createExternalReferences

        public static SupBookRecord createExternalReferences​(java.lang.String url,
                                                             java.lang.String[] sheetNames)
      • isExternalReferences

        public boolean isExternalReferences()
      • isInternalReferences

        public boolean isInternalReferences()
      • isAddInFunctions

        public boolean isAddInFunctions()
      • setNumberOfSheets

        public void setNumberOfSheets​(short number)
      • getNumberOfSheets

        public short getNumberOfSheets()
      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
        Returns:
        he id for this record
      • getURL

        public java.lang.String getURL()
      • getSheetNames

        public java.lang.String[] getSheetNames()
      • setURL

        public void setURL​(java.lang.String pUrl)
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()