java.lang.Object
java.lang.Enum<Recfm>
com.blackhillsoftware.dcollect.values.Recfm
All Implemented Interfaces:
Serializable, Comparable<Recfm>, java.lang.constant.Constable

public enum Recfm extends Enum<Recfm>
Record Format
  • Enum Constant Details

    • NULL

      public static final Recfm NULL
    • F

      public static final Recfm F
    • V

      public static final Recfm V
    • U

      public static final Recfm U
    • FB

      public static final Recfm FB
    • VB

      public static final Recfm VB
    • FS

      public static final Recfm FS
    • VS

      public static final Recfm VS
    • FBS

      public static final Recfm FBS
    • VBS

      public static final Recfm VBS
    • FA

      public static final Recfm FA
    • VA

      public static final Recfm VA
    • UA

      public static final Recfm UA
    • FBA

      public static final Recfm FBA
    • VBA

      public static final Recfm VBA
    • FSA

      public static final Recfm FSA
    • VSA

      public static final Recfm VSA
    • FBSA

      public static final Recfm FBSA
    • VBSA

      public static final Recfm VBSA
    • FM

      public static final Recfm FM
    • VM

      public static final Recfm VM
    • UM

      public static final Recfm UM
    • FBM

      public static final Recfm FBM
    • VBM

      public static final Recfm VBM
    • FSM

      public static final Recfm FSM
    • VSM

      public static final Recfm VSM
    • FBSM

      public static final Recfm FBSM
    • VBSM

      public static final Recfm VBSM
    • NOT_DEFINED

      public static final Recfm NOT_DEFINED
      Not defined to EasySMF
  • Method Details

    • values

      public static Recfm[] 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 Recfm 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
    • format

      public Recfm.RecordType format()
      Record type (Fixed/Variable/Undefined)
      Returns:
      RecordType record format type
    • blocked

      public boolean blocked()
      Are the records blocked
      Returns:
      true if the RECFM is blocked
    • spanned

      public boolean spanned()
      Are the records spanned ie VBS - note, false for FBS records
      Returns:
      true if the RECFM is spanned
      See Also:
    • standard

      public boolean standard()
      Are the records standard ie FBS - note, false for VBS records
      Returns:
      true if the RECFM is standard
      See Also:
    • controlChars

      public CarriageControl controlChars()
      RECFM control characters
      Returns:
      CarriageControl control character format
    • fromRecfmByte

      public static Recfm fromRecfmByte(int recfmByte)
      Create a Recfm from a RECFM byte value
      Parameters:
      recfmByte - integer with the RECFM in the low order byte
      Returns:
      a RECFM from the RECFM byte