public final class Smf7Record extends SmfRecord
Typically you would obtain Smf7Records by reading SmfRecords and using
Smf7Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Modifier and Type | Field and Description |
---|---|
static int |
SMF7DRP
Constant: 0x20 = 32
|
static int |
SMF7LSD
Constant: 0x40 = 64
|
static int |
SMF7NRF
Constant: 0x80 = 128
|
static int |
SMFRCD7
Constant: 0x00 = 0
|
Constructor and Description |
---|
Smf7Record(byte[] data)
Constructs an SMF7Record from the specified byte array.
|
Smf7Record(SmfRecord record)
Constructs a new Smf7Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
static Smf7Record |
from(byte[] data)
Constructs an Smf7Record from the specified byte array.
|
static Smf7Record |
from(SmfRecord record)
Constructs a new Smf7Record from an existing SMF record.
|
boolean |
smf7drp()
|
LocalDate |
smf7dte()
SMF7DTE as a LocalDate.
|
int |
smf7dteRawValue()
SMF7DTE raw value.
|
int |
smf7dtyp()
SMF7DTYP value.
|
int |
smf7fl1()
SMF7FL1 value.
|
int |
smf7flg()
SMF7FLG value.
|
int |
smf7len()
SMF7LEN value.
|
boolean |
smf7lsd()
|
String |
smf7lsn()
SMF7LSN value.
|
boolean |
smf7nrf()
|
int |
smf7nro()
SMF7NRO value.
|
long |
smf7nrox()
SMF7NROX value.
|
int |
smf7rsv1()
SMF7RSV1 value.
|
int |
smf7rty()
SMF7RTY value.
|
int |
smf7seg()
SMF7SEG value.
|
String |
smf7sid()
SMF7SID value.
|
LocalDate |
smf7std()
SMF7STD as a LocalDate.
|
int |
smf7stdRawValue()
SMF7STD raw value.
|
LocalTime |
smf7stm()
SMF7STM as a LocalTime.
|
long |
smf7stmRawValue()
SMF7STM raw value
|
long |
smf7tbls()
SMF7TBLS value, throws exception if SMF7TBLS overflows 64 bit signed integer.
|
BigInteger |
smf7tblsAsBigInteger()
SMF7TBLS value as a BigInteger.
|
LocalTime |
smf7tme()
SMF7TME as a LocalTime.
|
long |
smf7tmeRawValue()
SMF7TME 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 SMFRCD7
public static final int SMF7NRF
public static final int SMF7LSD
public static final int SMF7DRP
public Smf7Record(byte[] data)
data
- a byte array containing the SMF record datapublic Smf7Record(SmfRecord record)
record
- an existing SMF recordpublic static Smf7Record from(SmfRecord record)
record
- an existing SMF recordpublic static Smf7Record from(byte[] data)
data
- a byte array containing the SMF record datapublic int smf7len()
public int smf7seg()
public int smf7flg()
public int smf7rty()
public LocalTime smf7tme()
LocalTime
public long smf7tmeRawValue()
public LocalDate smf7dte()
LocalDate
public int smf7dteRawValue()
public String smf7sid()
public int smf7nro()
public LocalTime smf7stm()
LocalTime
public long smf7stmRawValue()
public LocalDate smf7std()
LocalDate
public int smf7stdRawValue()
public int smf7fl1()
public boolean smf7nrf()
SMF7NRF = 0x80
public boolean smf7lsd()
SMF7LSD = 0x40
public boolean smf7drp()
SMF7DRP = 0x20
public int smf7rsv1()
public int smf7dtyp()
public long smf7nrox()
public String smf7lsn()
public long smf7tbls()
IllegalArgumentException
- If the value of SMF7TBLS exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF7TBLS).
Use smf7tblsAsBigInteger()
if this is possible.public BigInteger smf7tblsAsBigInteger()
smf7tbls()
may provide better performance
if the value will not exceed the maximum value for a signed long.
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.