public final class Smf2Record extends SmfRecord
Typically you would obtain Smf2Records by reading SmfRecords and using
Smf2Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Modifier and Type | Field and Description |
---|---|
static int |
SMFRCD2
Constant: 0x00 = 0
|
Constructor and Description |
---|
Smf2Record(byte[] data)
Constructs an Smf2Record from the specified byte array.
|
Smf2Record(SmfRecord record)
Constructs a new Smf2Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
static Smf2Record |
from(byte[] data)
Constructs an Smf2Record from the specified byte array.
|
static Smf2Record |
from(SmfRecord record)
Constructs a new Smf2Record from an existing SMF record.
|
LocalDate |
smf2dte()
SMF2DTE as a LocalDate.
|
int |
smf2dteRawValue()
SMF2DTE raw value.
|
int |
smf2flg()
SMF2FLG value.
|
int |
smf2len()
SMF2LEN value.
|
int |
smf2rty()
SMF2RTY value.
|
int |
smf2seg()
SMF2SEG value.
|
String |
smf2sid()
SMF2SID value.
|
LocalTime |
smf2tme()
SMF2TME as a LocalTime.
|
long |
smf2tmeRawValue()
SMF2TME raw value
|
equals, extendedHeader, extendedHeader, hashCode, 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, toString
createSection, dump, dump, dump, dump, getBytes, getBytes, getDataArray, getTriplet
public static final int SMFRCD2
public Smf2Record(byte[] data)
data
- a byte array containing the SMF record datapublic Smf2Record(SmfRecord record)
record
- an existing SMF recordpublic static Smf2Record from(SmfRecord record)
record
- an existing SMF recordpublic static Smf2Record from(byte[] data)
data
- a byte array containing the SMF record datapublic int smf2len()
public int smf2seg()
public int smf2flg()
public int smf2rty()
public LocalTime smf2tme()
LocalTime
public long smf2tmeRawValue()
public LocalDate smf2dte()
LocalDate
public int smf2dteRawValue()
public String smf2sid()
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.