java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf92.FileClose
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x20 = 32static final int
Constant: 0x08 = 8static final int
Constant: 0x04 = 4static final int
Constant: 0x10 = 16static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64 -
Method Summary
Modifier and TypeMethodDescriptionstatic FileClose
create
(byte[] Data, int offset, int length) create is intended for internal use only.long
smf92cbr()
SMF92CBR value, throws exception if SMF92CBR overflows 64 bit signed integer.SMF92CBR value as a BigInteger.long
smf92cbw()
SMF92CBW value, throws exception if SMF92CBW overflows 64 bit signed integer.SMF92CBW value as a BigInteger.boolean
smf92ccs()
Return true ifSMF92CCS
bit insmf92cfg()
is set.long
smf92cdi()
SMF92CDI value.long
smf92cdn()
SMF92CDN value.boolean
smf92cdr()
Return true ifSMF92CDR
bit insmf92cfg()
is set.boolean
smf92cdw()
Return true ifSMF92CDW
bit insmf92cfg()
is set.boolean
smf92cfc()
Return true ifSMF92CFC
bit insmf92cfg()
is set.int
smf92cfg()
SMF92CFG value.long
smf92cin()
SMF92CIN value.long
smf92cir()
SMF92CIR value.long
smf92ciw()
SMF92CIW value.boolean
smf92cnf()
Return true ifSMF92CNF
bit insmf92cfg()
is set.boolean
smf92cns()
Return true ifSMF92CNS
bit insmf92cfg()
is set.smf92cpn()
SMF92CPN value.long
smf92csr()
SMF92CSR value.long
smf92csw()
SMF92CSW value.smf92ctc()
SMF92CTC STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF92CTC STCK value.long
smf92ctk()
SMF92CTK value.smf92cto()
SMF92CTO STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF92CTO STCK value.smf92cty()
SMF92CTY value.int
SMF92CTY raw value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF92CNF
public static final int SMF92CNFConstant: 0x80 = 128- See Also:
-
SMF92CNS
public static final int SMF92CNSConstant: 0x40 = 64- See Also:
-
SMF92CCS
public static final int SMF92CCSConstant: 0x20 = 32- See Also:
-
SMF92CFC
public static final int SMF92CFCConstant: 0x10 = 16- See Also:
-
SMF92CDR
public static final int SMF92CDRConstant: 0x08 = 8- See Also:
-
SMF92CDW
public static final int SMF92CDWConstant: 0x04 = 4- See Also:
-
-
Method Details
-
smf92cto
SMF92CTO STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf92ctoRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF92CTO STCK converted to ZonedDateTime
- See Also:
-
smf92ctoRawValue
SMF92CTO STCK value.- Returns:
- BigInteger SMF92CTO STCK value
-
smf92ctc
SMF92CTC STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf92ctcRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF92CTC STCK converted to ZonedDateTime
- See Also:
-
smf92ctcRawValue
SMF92CTC STCK value.- Returns:
- BigInteger SMF92CTC STCK value
-
smf92cty
SMF92CTY value.- Returns:
- FileType SMF92CTY value
-
smf92ctyRawValue
public int smf92ctyRawValue()SMF92CTY raw value.- Returns:
- int SMF92CTY raw value
-
smf92cfg
public int smf92cfg()SMF92CFG value.- Returns:
- int SMF92CFG value
-
smf92cnf
public boolean smf92cnf()Return true ifSMF92CNF
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CNF bit is set in smf92cfg()
SMF92CNF = 0x80
-
smf92cns
public boolean smf92cns()Return true ifSMF92CNS
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CNS bit is set in smf92cfg()
SMF92CNS = 0x40
-
smf92ccs
public boolean smf92ccs()Return true ifSMF92CCS
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CCS bit is set in smf92cfg()
SMF92CCS = 0x20
-
smf92cfc
public boolean smf92cfc()Return true ifSMF92CFC
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CFC bit is set in smf92cfg()
SMF92CFC = 0x10
-
smf92cdr
public boolean smf92cdr()Return true ifSMF92CDR
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CDR bit is set in smf92cfg()
SMF92CDR = 0x08
-
smf92cdw
public boolean smf92cdw()Return true ifSMF92CDW
bit insmf92cfg()
is set.- Returns:
- boolean SMF92CDW bit is set in smf92cfg()
SMF92CDW = 0x04
-
smf92ctk
public long smf92ctk()SMF92CTK value.- Returns:
- long SMF92CTK value
-
smf92cin
public long smf92cin()SMF92CIN value.- Returns:
- long SMF92CIN value
-
smf92cdn
public long smf92cdn()SMF92CDN value.- Returns:
- long SMF92CDN value
-
smf92csr
public long smf92csr()SMF92CSR value.- Returns:
- long SMF92CSR value
-
smf92csw
public long smf92csw()SMF92CSW value.- Returns:
- long SMF92CSW value
-
smf92cdi
public long smf92cdi()SMF92CDI value.- Returns:
- long SMF92CDI value
-
smf92cir
public long smf92cir()SMF92CIR value.- Returns:
- long SMF92CIR value
-
smf92ciw
public long smf92ciw()SMF92CIW value.- Returns:
- long SMF92CIW value
-
smf92cbr
public long smf92cbr()SMF92CBR value, throws exception if SMF92CBR overflows 64 bit signed integer.- Returns:
- long SMF92CBR
- Throws:
IllegalArgumentException
- If the value of SMF92CBR exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF92CBR). Usesmf92cbrAsBigInteger()
if this is possible.
-
smf92cbrAsBigInteger
SMF92CBR value as a BigInteger.smf92cbr()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF92CBR
-
smf92cbw
public long smf92cbw()SMF92CBW value, throws exception if SMF92CBW overflows 64 bit signed integer.- Returns:
- long SMF92CBW
- Throws:
IllegalArgumentException
- If the value of SMF92CBW exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF92CBW). Usesmf92cbwAsBigInteger()
if this is possible.
-
smf92cbwAsBigInteger
SMF92CBW value as a BigInteger.smf92cbw()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF92CBW
-
smf92cpn
SMF92CPN value. Returns an empty string for file types like SOCKET that do not provide a path name.- Returns:
- String SMF92CPN value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-