java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf6.Smf6Record
Mapping for SMF type 6 record.
Typically you would obtain Smf6Records by reading SmfRecords and using
Smf6Record.
from(SmfRecord)
to create the specialized record after determining the record type.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0xE2 = 226static final int
Constant: 0x04 = 4static final int
Constant: 0xE2 = 226static final int
Constant: 0x52 = 82static final int
Constant: 0x74 = 116static final int
Constant: 0x5E = 94static final int
Constant: 0x52 = 82static final int
Constant: 0x10 = 16static final int
Constant: 0x64 = 100static final int
Constant: 0x80 = 128static final int
Constant: 0x64 = 100static final int
Constant: 0x08 = 8static final int
Constant: 0x74 = 116static final int
Constant: 0x4E = 78static final int
Constant: 0x40 = 64static final int
Constant: 0x4E = 78static final int
Constant: 0xD0 = 208static final int
Constant: 0x20 = 32static final int
Constant: 0x74 = 116static final int
Constant: 0x5E = 94static final int
Constant: 0x5E = 94static final int
Constant: 0xD0 = 208static final int
Constant: 0x0220 = 544static final int
Constant: 0x0220 = 544static final int
Constant: 0x01 = 1static final int
Constant: 0x06 = 6static final int
Constant: 0x00 = 0 -
Constructor Summary
ConstructorDescriptionSmf6Record
(byte[] data) Constructs an Smf6Record from the specified byte array.Smf6Record
(SmfRecord record) Constructs a new Smf6Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionGet the All Points Addressable Printing Subsystem Section from the record or null if it is not presentGet the Common Section from the record or null if it is not presentGet the Enhanced Sysout Support Section from the record or null if it is not presentGet the File Transfer Section from the record or null if it is not presentstatic Smf6Record
from
(byte[] data) Constructs an Smf6Record from the specified byte array.static Smf6Record
Constructs a new Smf6Record from an existing SMF record.Get the I/O Data Section from the recordGet the Non-impact Printing Subsystem Section from the record or null if it is not presentboolean
smf6die()
smf6dte()
SMF6DTE as a LocalDate.int
SMF6DTE raw value.boolean
smf6ess1()
Return true ifSMF6ESS1
bit insmf6pad1()
is set.boolean
smf6fext()
Return true ifSMF6FEXT
bit insmf6pad1()
is set.int
smf6flg()
SMF6FLG value.smf6fmn()
SMF6FMN value.boolean
smf6ftfr()
Return true ifSMF6FTFR
bit insmf6pad1()
is set.int
smf6ioe()
SMF6IOE value.smf6jbn()
SMF6JBN value.int
smf6len()
SMF6LEN value.int
smf6nds()
SMF6NDS value.long
smf6nlr()
SMF6NLR value.smf6owc()
SMF6OWC value.int
smf6pad1()
SMF6PAD1 value.boolean
smf6rext()
Return true ifSMF6REXT
bit insmf6pad1()
is set.smf6rsd()
SMF6RSD as a LocalDate.int
SMF6RSD raw value.smf6rst()
SMF6RST as a LocalTime.long
SMF6RST raw valueint
smf6rty()
SMF6RTY value.int
smf6sbs()
SMF6SBS value.int
smf6seg()
SMF6SEG value.boolean
smf6sext()
Return true ifSMF6SEXT
bit insmf6pad1()
is set.smf6sid()
SMF6SID value.smf6tme()
SMF6TME as a LocalTime.long
SMF6TME raw valuesmf6uif()
SMF6UIF value.smf6wsd()
SMF6WSD as a LocalDate.int
SMF6WSD raw value.smf6wst()
SMF6WST as a LocalTime.long
SMF6WST raw valueboolean
smfcbie()
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
-
SMFRCD6
public static final int SMFRCD6Constant: 0x00 = 0- See Also:
-
SMFJ6
public static final int SMFJ6Constant: 0x06 = 6- See Also:
-
SMF6DIE
public static final int SMF6DIEConstant: 0x04 = 4- See Also:
-
SMFCBIE
public static final int SMFCBIEConstant: 0x01 = 1- See Also:
-
SMF6FEXT
public static final int SMF6FEXTConstant: 0x80 = 128- See Also:
-
SMF6REXT
public static final int SMF6REXTConstant: 0x40 = 64- See Also:
-
SMF6SEXT
public static final int SMF6SEXTConstant: 0x20 = 32- See Also:
-
SMF6ESS1
public static final int SMF6ESS1Constant: 0x10 = 16- See Also:
-
SMF6FTFR
public static final int SMF6FTFRConstant: 0x08 = 8- See Also:
-
SMF6END2
public static final int SMF6END2Constant: 0x5E = 94- See Also:
-
SMF6SIZ2
public static final int SMF6SIZ2Constant: 0x5E = 94- See Also:
-
SMF6SIZ3
public static final int SMF6SIZ3Constant: 0x5E = 94- See Also:
-
SMF6END
public static final int SMF6ENDConstant: 0x74 = 116- See Also:
-
SMF6SIZ
public static final int SMF6SIZConstant: 0x74 = 116- See Also:
-
SMF6LSIZ
public static final int SMF6LSIZConstant: 0x74 = 116- See Also:
-
SMF6FEND
public static final int SMF6FENDConstant: 0x64 = 100- See Also:
-
SMF6FSIZ
public static final int SMF6FSIZConstant: 0x64 = 100- See Also:
-
SMF6REND
public static final int SMF6RENDConstant: 0x4E = 78- See Also:
-
SMF6RSIZ
public static final int SMF6RSIZConstant: 0x4E = 78- See Also:
-
SMF6DEND
public static final int SMF6DENDConstant: 0xE2 = 226- See Also:
-
SMF6DSIZ
public static final int SMF6DSIZConstant: 0xE2 = 226- See Also:
-
SMF6EEND
public static final int SMF6EENDConstant: 0x52 = 82- See Also:
-
SMF6ESIZ
public static final int SMF6ESIZConstant: 0x52 = 82- See Also:
-
SMF6SEND
public static final int SMF6SENDConstant: 0xD0 = 208- See Also:
-
SMF6SSIZ
public static final int SMF6SSIZConstant: 0xD0 = 208- See Also:
-
SMF6TEND
public static final int SMF6TENDConstant: 0x0220 = 544- See Also:
-
SMF6TSIZ
public static final int SMF6TSIZConstant: 0x0220 = 544- See Also:
-
-
Constructor Details
-
Smf6Record
public Smf6Record(byte[] data) Constructs an Smf6Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf6Record
Constructs a new Smf6Record 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 Smf6Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf6Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
subsystem
-
ioDataSection
Get the I/O Data Section from the record- Returns:
- the IoDataSection
-
nonImpactPrintingSubsystemSection
Get the Non-impact Printing Subsystem Section from the record or null if it is not present- Returns:
- the PrintingSubsystemSection or null
-
commonSection
Get the Common Section from the record or null if it is not present- Returns:
- the CommonSection or null
-
apaSubsystemSection
Get the All Points Addressable Printing Subsystem Section from the record or null if it is not present- Returns:
- the ApaSubsystemSection or null
-
enhancedSysoutSection
Get the Enhanced Sysout Support Section from the record or null if it is not present- Returns:
- the EnhancedSysoutSection or null
-
fileTransferSection
Get the File Transfer Section from the record or null if it is not present- Returns:
- the FileTransferSection or null
-
smf6len
public int smf6len()SMF6LEN value.- Returns:
- int SMF6LEN value
-
smf6seg
public int smf6seg()SMF6SEG value.- Returns:
- int SMF6SEG value
-
smf6flg
public int smf6flg()SMF6FLG value.- Returns:
- int SMF6FLG value
-
smf6rty
public int smf6rty()SMF6RTY value.- Returns:
- int SMF6RTY value
-
smf6tme
SMF6TME as a LocalTime.- Returns:
- LocalTime SMF6TME Time
- See Also:
-
smf6tmeRawValue
public long smf6tmeRawValue()SMF6TME raw value- Returns:
- long SMF6TME value
-
smf6dte
SMF6DTE as a LocalDate.- Returns:
- LocalDate SMF6DTE Date
- See Also:
-
smf6dteRawValue
public int smf6dteRawValue()SMF6DTE raw value.- Returns:
- int SMF6DTE value
-
smf6sid
SMF6SID value.- Returns:
- String SMF6SID value
-
smf6jbn
SMF6JBN value.- Returns:
- String SMF6JBN value
-
smf6rst
SMF6RST as a LocalTime.- Returns:
- LocalTime SMF6RST Time
- See Also:
-
smf6rstRawValue
public long smf6rstRawValue()SMF6RST raw value- Returns:
- long SMF6RST value
-
smf6rsd
SMF6RSD as a LocalDate.- Returns:
- LocalDate SMF6RSD Date
- See Also:
-
smf6rsdRawValue
public int smf6rsdRawValue()SMF6RSD raw value.- Returns:
- int SMF6RSD value
-
smf6uif
SMF6UIF value.- Returns:
- String SMF6UIF value
-
smf6owc
SMF6OWC value.- Returns:
- String SMF6OWC value
-
smf6wst
SMF6WST as a LocalTime.- Returns:
- LocalTime SMF6WST Time
- See Also:
-
smf6wstRawValue
public long smf6wstRawValue()SMF6WST raw value- Returns:
- long SMF6WST value
-
smf6wsd
SMF6WSD as a LocalDate.- Returns:
- LocalDate SMF6WSD Date
- See Also:
-
smf6wsdRawValue
public int smf6wsdRawValue()SMF6WSD raw value.- Returns:
- int SMF6WSD value
-
smf6nlr
public long smf6nlr()SMF6NLR value.- Returns:
- long SMF6NLR value
-
smf6ioe
public int smf6ioe()SMF6IOE value.- Returns:
- int SMF6IOE value
-
smf6die
public boolean smf6die()- Returns:
- boolean SMF6DIE bit is set in smf6ioe()
SMF6DIE = 0x04
-
smfcbie
public boolean smfcbie()- Returns:
- boolean SMFCBIE bit is set in smf6ioe()
SMFCBIE = 0x01
-
smf6nds
public int smf6nds()SMF6NDS value.- Returns:
- int SMF6NDS value
-
smf6fmn
SMF6FMN value.- Returns:
- String SMF6FMN value
-
smf6pad1
public int smf6pad1()SMF6PAD1 value.- Returns:
- int SMF6PAD1 value
-
smf6fext
public boolean smf6fext()Return true ifSMF6FEXT
bit insmf6pad1()
is set.- Returns:
- boolean SMF6FEXT bit is set in smf6pad1()
SMF6FEXT = 0x80
-
smf6rext
public boolean smf6rext()Return true ifSMF6REXT
bit insmf6pad1()
is set.- Returns:
- boolean SMF6REXT bit is set in smf6pad1()
SMF6REXT = 0x40
-
smf6sext
public boolean smf6sext()Return true ifSMF6SEXT
bit insmf6pad1()
is set.- Returns:
- boolean SMF6SEXT bit is set in smf6pad1()
SMF6SEXT = 0x20
-
smf6ess1
public boolean smf6ess1()Return true ifSMF6ESS1
bit insmf6pad1()
is set.- Returns:
- boolean SMF6ESS1 bit is set in smf6pad1()
SMF6ESS1 = 0x10
-
smf6ftfr
public boolean smf6ftfr()Return true ifSMF6FTFR
bit insmf6pad1()
is set.- Returns:
- boolean SMF6FTFR bit is set in smf6pad1()
SMF6FTFR = 0x08
-
smf6sbs
public int smf6sbs()SMF6SBS value.- Returns:
- int SMF6SBS value
-