- All Implemented Interfaces:
Serializable
,Comparable<Recfm>
,java.lang.constant.Constable
Record Format
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Record type (Fixed/Variable/Undefined)Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
blocked()
Are the records blockedRECFM control charactersformat()
Record type (Fixed/Variable/Undefined)static Recfm
fromRecfmByte
(int recfmByte) Create a Recfm from a RECFM byte valueboolean
spanned()
Are the records spanned ie VBS - note, false for FBS recordsboolean
standard()
Are the records standard ie FBS - note, false for VBS recordsstatic Recfm
Returns the enum constant of this type with the specified name.static Recfm[]
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
-
NULL
-
F
-
V
-
U
-
FB
-
VB
-
FS
-
VS
-
FBS
-
VBS
-
FA
-
VA
-
UA
-
FBA
-
VBA
-
FSA
-
VSA
-
FBSA
-
VBSA
-
FM
-
VM
-
UM
-
FBM
-
VBM
-
FSM
-
VSM
-
FBSM
-
VBSM
-
NOT_DEFINED
Not defined to EasySMF
-
-
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
-
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
RECFM control characters- Returns:
- CarriageControl control character format
-
fromRecfmByte
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
-