Package com.blackhillsoftware.smf.smf14
Class CompressedFormatDatasetSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf14.ExtendedInformationSegment
com.blackhillsoftware.smf.smf14.CompressedFormatDatasetSection
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blackhillsoftware.smf.smf14.ExtendedInformationSegment
ExtendedInformationSegment.ExtendedInformationSegmentType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x24 = 36static final int
Constant: 0x20 = 32static final int
Constant: 0x10 = 16Fields inherited from class com.blackhillsoftware.smf.smf14.ExtendedInformationSegment
SMF14ADC, SMF14AV4, SMF14DENCR, SMF14KEKL, SMF14PDSE, SMF14RAS8, SMF14SMS, SMF14STP, SMF14XDS
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(byte[] Data, int offset, int length) create is intended for internal use only.long
smf14cdl()
SMF14CDL value, throws exception if SMF14CDL overflows 64 bit signed integer.SMF14CDL value as a BigInteger.long
smf14cds()
SMF14CDS value, throws exception if SMF14CDS overflows 64 bit signed integer.SMF14CDS value as a BigInteger.long
smf14cis()
SMF14CIS value.SMF14CMPTYPE as a CompressionType.int
SMF14CMPTYPE raw value.boolean
smf14crj()
Return true ifSMF14CRJ
bit insmf14xf1()
is set.boolean
smf14lbd()
Return true ifSMF14LBD
bit insmf14xf1()
is set.int
smf14tkl()
SMF14TKL value.byte[]
smf14tkn()
SMF14TKN data.long
smf14udl()
SMF14UDL value, throws exception if SMF14UDL overflows 64 bit signed integer.SMF14UDL value as a BigInteger.long
smf14uds()
SMF14UDS value, throws exception if SMF14UDS overflows 64 bit signed integer.SMF14UDS value as a BigInteger.int
smf14xf1()
SMF14XF1 value.int
smf14xf2()
SMF14XF2 value.boolean
Return true ifSMF14ZEDCNAC
bit insmf14xf1()
is set.boolean
Return true ifSMF14ZEDCNAD
bit insmf14xf1()
is set.Methods inherited from class com.blackhillsoftware.smf.smf14.ExtendedInformationSegment
smf14adc, smf14av4, smf14dencr, smf14esl, smf14kekl, smf14pdse, smf14ras8, smf14sms, smf14stp, smf14sty, smf14xds
Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF14LBD
public static final int SMF14LBDConstant: 0x80 = 128- See Also:
-
SMF14CRJ
public static final int SMF14CRJConstant: 0x40 = 64- See Also:
-
SMF14ZEDCNAC
public static final int SMF14ZEDCNACConstant: 0x20 = 32- See Also:
-
SMF14ZEDCNAD
public static final int SMF14ZEDCNADConstant: 0x10 = 16- See Also:
-
SMF14T36
public static final int SMF14T36Constant: 0x24 = 36- See Also:
-
-
Method Details
-
smf14xf1
public int smf14xf1()SMF14XF1 value.- Returns:
- int SMF14XF1 value
-
smf14lbd
public boolean smf14lbd()Return true ifSMF14LBD
bit insmf14xf1()
is set.- Returns:
- boolean SMF14LBD bit is set in smf14xf1()
SMF14LBD = 0x80
-
smf14crj
public boolean smf14crj()Return true ifSMF14CRJ
bit insmf14xf1()
is set.- Returns:
- boolean SMF14CRJ bit is set in smf14xf1()
SMF14CRJ = 0x40
-
smf14zedcnac
public boolean smf14zedcnac()Return true ifSMF14ZEDCNAC
bit insmf14xf1()
is set.- Returns:
- boolean SMF14ZEDCNAC bit is set in smf14xf1()
SMF14ZEDCNAC = 0x20
-
smf14zedcnad
public boolean smf14zedcnad()Return true ifSMF14ZEDCNAD
bit insmf14xf1()
is set.- Returns:
- boolean SMF14ZEDCNAD bit is set in smf14xf1()
SMF14ZEDCNAD = 0x10
-
smf14xf2
public int smf14xf2()SMF14XF2 value.- Returns:
- int SMF14XF2 value
-
smf14cdl
public long smf14cdl()SMF14CDL value, throws exception if SMF14CDL overflows 64 bit signed integer.- Returns:
- long SMF14CDL
- Throws:
IllegalArgumentException
- If the value of SMF14CDL exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF14CDL). Usesmf14cdlAsBigInteger()
if this is possible.
-
smf14cdlAsBigInteger
SMF14CDL value as a BigInteger.smf14cdl()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF14CDL
-
smf14udl
public long smf14udl()SMF14UDL value, throws exception if SMF14UDL overflows 64 bit signed integer.- Returns:
- long SMF14UDL
- Throws:
IllegalArgumentException
- If the value of SMF14UDL exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF14UDL). Usesmf14udlAsBigInteger()
if this is possible.
-
smf14udlAsBigInteger
SMF14UDL value as a BigInteger.smf14udl()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF14UDL
-
smf14cds
public long smf14cds()SMF14CDS value, throws exception if SMF14CDS overflows 64 bit signed integer.- Returns:
- long SMF14CDS
- Throws:
IllegalArgumentException
- If the value of SMF14CDS exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF14CDS). Usesmf14cdsAsBigInteger()
if this is possible.
-
smf14cdsAsBigInteger
SMF14CDS value as a BigInteger.smf14cds()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF14CDS
-
smf14uds
public long smf14uds()SMF14UDS value, throws exception if SMF14UDS overflows 64 bit signed integer.- Returns:
- long SMF14UDS
- Throws:
IllegalArgumentException
- If the value of SMF14UDS exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF14UDS). Usesmf14udsAsBigInteger()
if this is possible.
-
smf14udsAsBigInteger
SMF14UDS value as a BigInteger.smf14uds()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF14UDS
-
smf14cis
public long smf14cis()SMF14CIS value.- Returns:
- long SMF14CIS value
-
smf14tkl
public int smf14tkl()SMF14TKL value.- Returns:
- int SMF14TKL value
-
smf14tkn
public byte[] smf14tkn()SMF14TKN data.- Returns:
- byte[] SMF14TKN data
-
smf14cmptype
SMF14CMPTYPE as a CompressionType.- Returns:
- CompressionType SMF14CMPTYPE
-
smf14cmptypeRawValue
public int smf14cmptypeRawValue()SMF14CMPTYPE raw value.- Returns:
- int SMF14CMPTYPE 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
-