java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf18.Smf18Record
Mapping for SMF type 18 record.
Typically you would obtain Smf18Records by reading SmfRecords and using
Smf18Record.
from(SmfRecord)
to create the specialized record after determining the record type.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSmf18Record
(byte[] data) Constructs an Smf18Record from the specified byte array.Smf18Record
(SmfRecord record) Constructs a new Smf18Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionstatic Smf18Record
from
(byte[] data) Constructs an Smf18Record from the specified byte array.static Smf18Record
Constructs a new Smf18Record from an existing SMF record.boolean
smf18con()
Return true ifSMF18CON
bit insmf18in1()
is set.smf18dte()
SMF18DTE as a LocalDate.int
SMF18DTE raw value.boolean
smf18fac()
Return true ifSMF18FAC
bit insmf18fl1()
is set.int
smf18fl1()
SMF18FL1 value.int
smf18flg()
SMF18FLG value.int
smf18in1()
SMF18IN1 value.int
smf18in2()
SMF18IN2 value.smf18jbn()
SMF18JBN value.int
smf18len()
SMF18LEN value.smf18nds()
SMF18NDS value.int
smf18nvl()
SMF18NVL value.smf18ods()
SMF18ODS value.int
smf18rin()
SMF18RIN value.smf18rsd()
SMF18RSD as a LocalDate.int
SMF18RSD raw value.smf18rst()
SMF18RST as a LocalTime.long
SMF18RST raw valueint
smf18rty()
SMF18RTY value.int
smf18seg()
SMF18SEG value.smf18sid()
SMF18SID value.smf18tme()
SMF18TME as a LocalTime.long
SMF18TME raw valuesmf18uid()
SMF18UID value.Methods 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
-
SMF18CON
public static final int SMF18CONConstant: 0x80 = 128- See Also:
-
SMF18FAC
public static final int SMF18FACConstant: 0x80 = 128- See Also:
-
SMF18LNV
public static final int SMF18LNVConstant: 0x08 = 8- See Also:
-
-
Constructor Details
-
Smf18Record
public Smf18Record(byte[] data) Constructs an Smf18Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf18Record
Constructs a new Smf18Record 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 Smf18Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf18Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
smf18len
public int smf18len()SMF18LEN value.- Returns:
- int SMF18LEN value
-
smf18seg
public int smf18seg()SMF18SEG value.- Returns:
- int SMF18SEG value
-
smf18flg
public int smf18flg()SMF18FLG value.- Returns:
- int SMF18FLG value
-
smf18rty
public int smf18rty()SMF18RTY value.- Returns:
- int SMF18RTY value
-
smf18tme
SMF18TME as a LocalTime.- Returns:
- LocalTime SMF18TME Time
- See Also:
-
smf18tmeRawValue
public long smf18tmeRawValue()SMF18TME raw value- Returns:
- long SMF18TME value
-
smf18dte
SMF18DTE as a LocalDate.- Returns:
- LocalDate SMF18DTE Date
- See Also:
-
smf18dteRawValue
public int smf18dteRawValue()SMF18DTE raw value.- Returns:
- int SMF18DTE value
-
smf18sid
SMF18SID value.- Returns:
- String SMF18SID value
-
smf18jbn
SMF18JBN value.- Returns:
- String SMF18JBN value
-
smf18rst
SMF18RST as a LocalTime.- Returns:
- LocalTime SMF18RST Time
- See Also:
-
smf18rstRawValue
public long smf18rstRawValue()SMF18RST raw value- Returns:
- long SMF18RST value
-
smf18rsd
SMF18RSD as a LocalDate.- Returns:
- LocalDate SMF18RSD Date
- See Also:
-
smf18rsdRawValue
public int smf18rsdRawValue()SMF18RSD raw value.- Returns:
- int SMF18RSD value
-
smf18uid
SMF18UID value.- Returns:
- String SMF18UID value
-
smf18rin
public int smf18rin()SMF18RIN value.- Returns:
- int SMF18RIN value
-
smf18in1
public int smf18in1()SMF18IN1 value.- Returns:
- int SMF18IN1 value
-
smf18con
public boolean smf18con()Return true ifSMF18CON
bit insmf18in1()
is set.- Returns:
- boolean SMF18CON bit is set in smf18in1()
SMF18CON = 0x80
-
smf18in2
public int smf18in2()SMF18IN2 value.- Returns:
- int SMF18IN2 value
-
smf18ods
SMF18ODS value.- Returns:
- String SMF18ODS value
-
smf18nds
SMF18NDS value.- Returns:
- String SMF18NDS value
-
smf18fl1
public int smf18fl1()SMF18FL1 value.- Returns:
- int SMF18FL1 value
-
smf18fac
public boolean smf18fac()Return true ifSMF18FAC
bit insmf18fl1()
is set.- Returns:
- boolean SMF18FAC bit is set in smf18fl1()
SMF18FAC = 0x80
-
smf18nvl
public int smf18nvl()SMF18NVL value.- Returns:
- int SMF18NVL value
-