Class RecordFactory


  • public class RecordFactory
    extends Object
    Deprecated.
    use EventRecordFactory instead
    Title: Record Factory

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

    Author:
    Andrew C. Oliver (acoliver at apache dot org), Marc Johnson (mjohnson at apache dot org), Glen Stampoultzis (glens at apache.org), Csaba Nagy (ncsaba at yahoo dot com)
    See Also:
    EventRecordFactory
    • Constructor Detail

      • RecordFactory

        public RecordFactory()
        Deprecated.
    • Method Detail

      • setCapacity

        public static void setCapacity​(int capacity)
        Deprecated.
        changes the default capacity (10000) to handle larger files
      • createRecords

        public static List createRecords​(InputStream in)
                                  throws RecordFormatException
        Deprecated.
        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
      • getAllKnownRecordSIDs

        public static short[] getAllKnownRecordSIDs()
        Deprecated.