Documentation of 'org.apache.poi.hssf.record.RecordFactory' Java class
RecordFactory
org.apache.poi.hssf.record

Class RecordFactory



  • public final class RecordFactory
    extends java.lang.Object
    Title: Record Factory

    Description: Takes a stream and outputs an array of Record objects.

    See Also:
    EventRecordFactory
    • Constructor Detail

      • RecordFactory

        public RecordFactory()
    • Method Detail

      • getRecordClass

        public static java.lang.Class<? extends Record> getRecordClass(int sid)
        Debug / diagnosis method
        Gets the POI implementation class for a given sid. Only a subset of the any BIFF records are actually interpreted by POI. A few others are known but not interpreted (see UnknownRecord.getBiffName(int)).
        Returns:
        the POI implementation class for the specified record sid. null if the specified record is not interpreted by POI.
      • createRecord

        public static Record[] createRecord(RecordInputStream in)
        create a record, if there are MUL records than multiple records are returned digested into the non-mul form.
      • convertToNumberRecord

        public static NumberRecord convertToNumberRecord(RKRecord rk)
        RK record is a slightly smaller alternative to NumberRecord POI likes NumberRecord better
      • getAllKnownRecordSIDs

        public static short[] getAllKnownRecordSIDs()
        Returns:
        an array of all the SIDS for all known records
      • createRecords

        public static java.util.List<Record> createRecords(java.io.InputStream in)
                                                    throws RecordFormatException
        Create an array of records from an input stream
        Parameters:
        in - the InputStream from which the records will be obtained
        Returns:
        an array of Records created from the InputStream
        Throws:
        RecordFormatException - on error processing the InputStream

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.