java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf42.Smf42Record
com.blackhillsoftware.smf.smf42.Smf4221Record
Mapping for SMF type 42 subtype 21 record.
Typically you would obtain Smf4221Records by reading SmfRecords and
using
Smf4221Record.
from(SmfRecord)
to create the specialized record after determining the record type and subtype.
- Sections
- Most section types are returned in a List containing 0 or more of the section type, depending on the values in the header triplet. If the record is documented as always having exactly 1 of a section e.g. Product Section, the single section is returned.
-
Constructor Summary
ConstructorDescriptionSmf4221Record
(byte[] data) Constructs an SMF4221Record from the specified byte array.Smf4221Record
(SmfRecord record) Constructs a new Smf4221Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionGet a List containing Alias Names Deleted sections from the recordstatic Smf4221Record
from
(byte[] data) Constructs an Smf4221Record from the specified byte array.static Smf4221Record
Constructs a new Smf4221Record from an existing SMF record.Get a List containing Member Delete sections from the recordGet a List containing User Information sections from the recordMethods inherited from class com.blackhillsoftware.smf.smf42.Smf42Record
header, productSection, subtype10Header, subtype11Header, subtype15Header, subtype16Header, subtype17Header, subtype18Header, subtype19Header, subtype1Header, subtype20Header, subtype21Header, subtype22Header, subtype23Header, subtype24Header, subtype25Header, subtype27Header, subtype2Header, subtype3Header, subtype4Header, subtype5Header, subtype6Header, subtype9Header
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
-
Constructor Details
-
Smf4221Record
public Smf4221Record(byte[] data) Constructs an SMF4221Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf4221Record
Constructs a new Smf4221Record 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 Smf4221Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf4221Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
memberDelete
Get a List containing Member Delete sections from the record- Returns:
- a list of MemberDelete (possibly empty)
-
aliasNamesDeleted
Get a List containing Alias Names Deleted sections from the record- Returns:
- a list of AliasNamesDeleted (possibly empty)
-
userInformation
Get a List containing User Information sections from the record- Returns:
- a list of UserInformation (possibly empty)
-