Enum SmfRecordReader.RecordFormat

java.lang.Object
java.lang.Enum<SmfRecordReader.RecordFormat>
com.blackhillsoftware.smf.SmfRecordReader.RecordFormat
All Implemented Interfaces:
Serializable, Comparable<SmfRecordReader.RecordFormat>, java.lang.constant.Constable
Enclosing class:
SmfRecordReader

public static enum SmfRecordReader.RecordFormat extends Enum<SmfRecordReader.RecordFormat>
Record formats for stream data.
  • Enum Constant Details

    • AUTODETECT

      public static final SmfRecordReader.RecordFormat AUTODETECT
      SmfRecordReader will try to detect the format from the data in the stream
    • U

      public static final SmfRecordReader.RecordFormat U
      Data has been downloaded as RECFM=U and data is still in blocked VB or VBS format, including Block Descriptor Words (BDW). This format is commonly used for data downloaded for use with SAS and MXG.
    • V

      public static final SmfRecordReader.RecordFormat V
      Data has been downloaded as variable length records including the Record Descriptor Word (RDW). The data has been deblocked and VBS records spanning blocks reassembled. This is the format that results using FTP with the SITE RDW option.
  • Method Details

    • values

      public static SmfRecordReader.RecordFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SmfRecordReader.RecordFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null