Package com.blackhillsoftware.smf.smf14
Class AdditionalDatasetCharacteristics
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf14.AdditionalDatasetCharacteristics
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x10 = 16static final int
Constant: 0x80 = 128static final int
Constant: 0x04 = 4static final int
Constant: 0x08 = 8static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x10 = 16 -
Method Summary
Modifier and TypeMethodDescriptioncreate
(byte[] Data, int offset, int length) create is intended for internal use only.smf14ali()
SMF14ALI value.boolean
smf14als()
Return true ifSMF14ALS
bit insmf14bfg0()
is set.int
smf14bfg()
SMF14BFG value.int
SMF14BFG0 value.int
SMF14BFG1 value.boolean
smf14blk()
Return true ifSMF14BLK
bit insmf14bfg0()
is set.boolean
Return true ifSMF14DSENCARCHKEY
bit insmf14flg1()
is set.boolean
Return true ifSMF14DSENCRYPTOK
bit insmf14flg1()
is set.boolean
smf14dst()
Return true ifSMF14DST
bit insmf14bfg0()
is set.int
SMF14DSVER value.boolean
Return true ifSMF14EADSCB
bit insmf14flg1()
is set.boolean
Return true ifSMF14EX31
bit insmf14flg1()
is set.int
SMF14FLG1 value.int
SMF14FLG2 value.boolean
Return true ifSMF14FLGP
bit insmf14bfg0()
is set.int
SMF14FLGS value.long
smf14lbs()
SMF14LBS value, throws exception if SMF14LBS overflows 64 bit signed integer.SMF14LBS value as a BigInteger.boolean
smf14upf()
Return true ifSMF14UPF
bit insmf14flg1()
is set.boolean
Return true ifSMF14XTIO
bit insmf14flg1()
is set.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF14BLK
public static final int SMF14BLKConstant: 0x80 = 128- See Also:
-
SMF14FLGP
public static final int SMF14FLGPConstant: 0x40 = 64- See Also:
-
SMF14DST
public static final int SMF14DSTConstant: 0x20 = 32- See Also:
-
SMF14ALS
public static final int SMF14ALSConstant: 0x10 = 16- See Also:
-
SMF14UPF
public static final int SMF14UPFConstant: 0x80 = 128- See Also:
-
SMF14EADSCB
public static final int SMF14EADSCBConstant: 0x40 = 64- See Also:
-
SMF14EX31
public static final int SMF14EX31Constant: 0x20 = 32- See Also:
-
SMF14XTIO
public static final int SMF14XTIOConstant: 0x10 = 16- See Also:
-
SMF14DSENCRYPTOK
public static final int SMF14DSENCRYPTOKConstant: 0x08 = 8- See Also:
-
SMF14DSENCARCHKEY
public static final int SMF14DSENCARCHKEYConstant: 0x04 = 4- See Also:
-
-
Method Details
-
smf14bfg
public int smf14bfg()SMF14BFG value.- Returns:
- int SMF14BFG value
-
smf14bfg0
public int smf14bfg0()SMF14BFG0 value.- Returns:
- int SMF14BFG0 value
-
smf14blk
public boolean smf14blk()Return true ifSMF14BLK
bit insmf14bfg0()
is set.- Returns:
- boolean SMF14BLK bit is set in smf14bfg0()
SMF14BLK = 0x80
-
smf14flgp
public boolean smf14flgp()Return true ifSMF14FLGP
bit insmf14bfg0()
is set.- Returns:
- boolean SMF14FLGP bit is set in smf14bfg0()
SMF14FLGP = 0x40
-
smf14dst
public boolean smf14dst()Return true ifSMF14DST
bit insmf14bfg0()
is set.- Returns:
- boolean SMF14DST bit is set in smf14bfg0()
SMF14DST = 0x20
-
smf14als
public boolean smf14als()Return true ifSMF14ALS
bit insmf14bfg0()
is set.- Returns:
- boolean SMF14ALS bit is set in smf14bfg0()
SMF14ALS = 0x10
-
smf14bfg1
public int smf14bfg1()SMF14BFG1 value.- Returns:
- int SMF14BFG1 value
-
smf14lbs
public long smf14lbs()SMF14LBS value, throws exception if SMF14LBS overflows 64 bit signed integer.- Returns:
- long SMF14LBS
- Throws:
IllegalArgumentException
- If the value of SMF14LBS exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF14LBS). Usesmf14lbsAsBigInteger()
if this is possible.
-
smf14lbsAsBigInteger
SMF14LBS value as a BigInteger.smf14lbs()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF14LBS
-
smf14flgs
public int smf14flgs()SMF14FLGS value.- Returns:
- int SMF14FLGS value
-
smf14flg1
public int smf14flg1()SMF14FLG1 value.- Returns:
- int SMF14FLG1 value
-
smf14upf
public boolean smf14upf()Return true ifSMF14UPF
bit insmf14flg1()
is set.- Returns:
- boolean SMF14UPF bit is set in smf14flg1()
SMF14UPF = 0x80
-
smf14eadscb
public boolean smf14eadscb()Return true ifSMF14EADSCB
bit insmf14flg1()
is set.- Returns:
- boolean SMF14EADSCB bit is set in smf14flg1()
SMF14EADSCB = 0x40
-
smf14ex31
public boolean smf14ex31()Return true ifSMF14EX31
bit insmf14flg1()
is set.- Returns:
- boolean SMF14EX31 bit is set in smf14flg1()
SMF14EX31 = 0x20
-
smf14xtio
public boolean smf14xtio()Return true ifSMF14XTIO
bit insmf14flg1()
is set.- Returns:
- boolean SMF14XTIO bit is set in smf14flg1()
SMF14XTIO = 0x10
-
smf14dsencryptok
public boolean smf14dsencryptok()Return true ifSMF14DSENCRYPTOK
bit insmf14flg1()
is set.- Returns:
- boolean SMF14DSENCRYPTOK bit is set in smf14flg1()
SMF14DSENCRYPTOK = 0x08
-
smf14dsencarchkey
public boolean smf14dsencarchkey()Return true ifSMF14DSENCARCHKEY
bit insmf14flg1()
is set.- Returns:
- boolean SMF14DSENCARCHKEY bit is set in smf14flg1()
SMF14DSENCARCHKEY = 0x04
-
smf14flg2
public int smf14flg2()SMF14FLG2 value.- Returns:
- int SMF14FLG2 value
-
smf14dsver
public int smf14dsver()SMF14DSVER value.- Returns:
- int SMF14DSVER value
-
smf14ali
SMF14ALI value.- Returns:
- String SMF14ALI 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
-