Package com.blackhillsoftware.smf.smf90
Class ValidatedBootHeader
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf90.ValidatedBootHeader
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0xC0 = 192static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64 -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidatedBootHeader
create
(byte[] Data, int offset, int length) create is intended for internal use only.int
SMF90T42_Audit_Len value.int
SMF90T42_Audit_Num value.int
SMF90T42_Audit_Off value.int
SMF90T42_Bad_CX_Len value.int
SMF90T42_Bad_CX_Num value.int
SMF90T42_Bad_CX_Off value.int
SMF90T42_Cont value.int
SMF90T42_CX_Len value.int
SMF90T42_CX_Num value.int
SMF90T42_CX_Off value.boolean
Return true ifSMF90T42_F_Audit
bit insmf90t42Flags()
is set.boolean
Return true ifSMF90T42_F_Enforce
bit insmf90t42Flags()
is set.int
SMF90T42_Flags value.SMF90T42_LeapSeconds as a Duration.long
SMF90T42_LeapSeconds raw value.double
SMF90T42_LeapSeconds in seconds.boolean
Return true ifSMF90T42_NotFirst
bit insmf90t42Cont()
is set.boolean
Return true ifSMF90T42_NotLast
bit insmf90t42Cont()
is set.long
SMF90T42_NumFailures value.long
SMF90T42_NumFailures_NoDSNE value.int
SMF90T42_Part value.SMF90T42_TZO as ZoneOffset.long
SMF90T42_TZO raw value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF90T42_NotFirst
public static final int SMF90T42_NotFirstConstant: 0x80 = 128- See Also:
-
SMF90T42_NotLast
public static final int SMF90T42_NotLastConstant: 0x40 = 64- See Also:
-
SMF90T42_F_VBMode
public static final int SMF90T42_F_VBModeConstant: 0xC0 = 192- See Also:
-
SMF90T42_F_Enforce
public static final int SMF90T42_F_EnforceConstant: 0x80 = 128- See Also:
-
SMF90T42_F_Audit
public static final int SMF90T42_F_AuditConstant: 0x40 = 64- See Also:
-
-
Method Details
-
smf90t42Cont
public int smf90t42Cont()SMF90T42_Cont value.- Returns:
- int SMF90T42_Cont value
-
smf90t42NotFirst
public boolean smf90t42NotFirst()Return true ifSMF90T42_NotFirst
bit insmf90t42Cont()
is set.- Returns:
- boolean SMF90T42_NotFirst bit is set in smf90t42Cont()
SMF90T42_NotFirst = 0x80
-
smf90t42NotLast
public boolean smf90t42NotLast()Return true ifSMF90T42_NotLast
bit insmf90t42Cont()
is set.- Returns:
- boolean SMF90T42_NotLast bit is set in smf90t42Cont()
SMF90T42_NotLast = 0x40
-
smf90t42Flags
public int smf90t42Flags()SMF90T42_Flags value.- Returns:
- int SMF90T42_Flags value
-
smf90t42FEnforce
public boolean smf90t42FEnforce()Return true ifSMF90T42_F_Enforce
bit insmf90t42Flags()
is set.- Returns:
- boolean SMF90T42_F_Enforce bit is set in smf90t42Flags()
SMF90T42_F_Enforce = 0x80
-
smf90t42FAudit
public boolean smf90t42FAudit()Return true ifSMF90T42_F_Audit
bit insmf90t42Flags()
is set.- Returns:
- boolean SMF90T42_F_Audit bit is set in smf90t42Flags()
SMF90T42_F_Audit = 0x40
-
smf90t42Part
public int smf90t42Part()SMF90T42_Part value.- Returns:
- int SMF90T42_Part value
-
smf90t42NumFailures
public long smf90t42NumFailures()SMF90T42_NumFailures value.- Returns:
- long SMF90T42_NumFailures value
-
smf90t42NumFailuresNoDSNE
public long smf90t42NumFailuresNoDSNE()SMF90T42_NumFailures_NoDSNE value.- Returns:
- long SMF90T42_NumFailures_NoDSNE value
-
smf90t42AuditOff
public int smf90t42AuditOff()SMF90T42_Audit_Off value.- Returns:
- int SMF90T42_Audit_Off value
-
smf90t42AuditLen
public int smf90t42AuditLen()SMF90T42_Audit_Len value.- Returns:
- int SMF90T42_Audit_Len value
-
smf90t42AuditNum
public int smf90t42AuditNum()SMF90T42_Audit_Num value.- Returns:
- int SMF90T42_Audit_Num value
-
smf90t42CxOff
public int smf90t42CxOff()SMF90T42_CX_Off value.- Returns:
- int SMF90T42_CX_Off value
-
smf90t42CxLen
public int smf90t42CxLen()SMF90T42_CX_Len value.- Returns:
- int SMF90T42_CX_Len value
-
smf90t42CxNum
public int smf90t42CxNum()SMF90T42_CX_Num value.- Returns:
- int SMF90T42_CX_Num value
-
smf90t42BadCxOff
public int smf90t42BadCxOff()SMF90T42_Bad_CX_Off value.- Returns:
- int SMF90T42_Bad_CX_Off value
-
smf90t42BadCxLen
public int smf90t42BadCxLen()SMF90T42_Bad_CX_Len value.- Returns:
- int SMF90T42_Bad_CX_Len value
-
smf90t42BadCxNum
public int smf90t42BadCxNum()SMF90T42_Bad_CX_Num value.- Returns:
- int SMF90T42_Bad_CX_Num value
-
smf90t42Tzo
SMF90T42_TZO as ZoneOffset.- Returns:
- ZoneOffset SMF90T42_TZO
-
smf90t42TzoRawValue
public long smf90t42TzoRawValue()SMF90T42_TZO raw value.- Returns:
- long SMF90T42_TZO value
-
smf90t42LeapSeconds
SMF90T42_LeapSeconds as a Duration.- Returns:
- Duration SMF90T42_LeapSeconds
- See Also:
-
smf90t42LeapSecondsSeconds
public double smf90t42LeapSecondsSeconds()SMF90T42_LeapSeconds in seconds.- Returns:
- double SMF90T42_LeapSeconds converted to seconds
-
smf90t42LeapSecondsRawValue
public long smf90t42LeapSecondsRawValue()SMF90T42_LeapSeconds raw value.- Returns:
- long SMF90T42_LeapSeconds raw 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
-