Package com.blackhillsoftware.smf
Enum SmfRecordReader.RecordFormat
- All Implemented Interfaces:
Serializable
,Comparable<SmfRecordReader.RecordFormat>
,java.lang.constant.Constable
- Enclosing class:
- SmfRecordReader
Record formats for stream data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSmfRecordReader will try to detect the format from the data in the streamData has been downloaded as RECFM=U and data is still in blocked VB or VBS format, including Block Descriptor Words (BDW).Data has been downloaded as variable length records including the Record Descriptor Word (RDW). -
Method Summary
Modifier and TypeMethodDescriptionstatic SmfRecordReader.RecordFormat
Returns the enum constant of this type with the specified name.static SmfRecordReader.RecordFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AUTODETECT
SmfRecordReader will try to detect the format from the data in the stream -
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
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
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
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 nameNullPointerException
- if the argument is null
-