java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf3.Smf3Record
Mapping for SMF type 3 record.
Typically you would obtain Smf3Records by reading SmfRecords and using
Smf3Record.
from(SmfRecord)
to create the specialized record after determining the record type.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSmf3Record
(byte[] data) Constructs an Smf3Record from the specified byte array.Smf3Record
(SmfRecord record) Constructs a new Smf3Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionstatic Smf3Record
from
(byte[] data) Constructs an Smf3Record from the specified byte array.static Smf3Record
Constructs a new Smf3Record from an existing SMF record.smf3dte()
SMF3DTE as a LocalDate.int
SMF3DTE raw value.int
smf3flg()
SMF3FLG value.int
smf3len()
SMF3LEN value.int
smf3rty()
SMF3RTY value.int
smf3seg()
SMF3SEG value.smf3sid()
SMF3SID value.smf3tme()
SMF3TME as a LocalTime.long
SMF3TME raw valueMethods inherited from class com.blackhillsoftware.smf.SmfRecord
createSection, extendedHeader, extendedHeader, getTriplet, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system
-
Field Details
-
SMFRCD3
public static final int SMFRCD3Constant: 0x00 = 0- See Also:
-
-
Constructor Details
-
Smf3Record
public Smf3Record(byte[] data) Constructs an Smf3Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf3Record
Constructs a new Smf3Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
-
Method Details
-
from
Constructs a new Smf3Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf3Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
smf3len
public int smf3len()SMF3LEN value.- Returns:
- int SMF3LEN value
-
smf3seg
public int smf3seg()SMF3SEG value.- Returns:
- int SMF3SEG value
-
smf3flg
public int smf3flg()SMF3FLG value.- Returns:
- int SMF3FLG value
-
smf3rty
public int smf3rty()SMF3RTY value.- Returns:
- int SMF3RTY value
-
smf3tme
SMF3TME as a LocalTime.- Returns:
- LocalTime SMF3TME Time
- See Also:
-
smf3tmeRawValue
public long smf3tmeRawValue()SMF3TME raw value- Returns:
- long SMF3TME value
-
smf3dte
SMF3DTE as a LocalDate.- Returns:
- LocalDate SMF3DTE Date
- See Also:
-
smf3dteRawValue
public int smf3dteRawValue()SMF3DTE raw value.- Returns:
- int SMF3DTE value
-
smf3sid
SMF3SID value.- Returns:
- String SMF3SID value
-