Package com.pff
Class PSTDistList
- java.lang.Object
-
- com.pff.PSTObject
-
- com.pff.PSTMessage
-
- com.pff.PSTDistList
-
public class PSTDistList extends PSTMessage
PST DistList for extracting Addresses from Distribution lists.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PSTDistList.OneOffEntry
Inner class to represent distribution list one-off entries.
-
Field Summary
Fields Modifier and Type Field Description private byte[]
oneOffEntryIdUid
identifier for one-off entries.private byte[]
wrappedEntryIdUid
identifier for wrapped entries.-
Fields inherited from class com.pff.PSTMessage
IMPORTANCE_HIGH, IMPORTANCE_LOW, IMPORTANCE_NORMAL, RECIPIENT_TYPE_CC, RECIPIENT_TYPE_TO
-
Fields inherited from class com.pff.PSTObject
children, compEnc, data, descriptorIndexNode, items, localDescriptorItems, NID_TYPE_ASSOC_CONTENTS_TABLE, NID_TYPE_ASSOC_MESSAGE, NID_TYPE_ATTACHMENT, NID_TYPE_ATTACHMENT_TABLE, NID_TYPE_CONTENTS_TABLE, NID_TYPE_CONTENTS_TABLE_INDEX, NID_TYPE_HID, NID_TYPE_HIERARCHY_TABLE, NID_TYPE_INTERNAL, NID_TYPE_LTP, NID_TYPE_NORMAL_FOLDER, NID_TYPE_NORMAL_MESSAGE, NID_TYPE_OUTGOING_QUEUE_TABLE, NID_TYPE_RECEIVE_FOLDER_TABLE, NID_TYPE_RECIPIENT_TABLE, NID_TYPE_SEARCH_CONTENTS_TABLE, NID_TYPE_SEARCH_CRITERIA_OBJECT, NID_TYPE_SEARCH_FOLDER, NID_TYPE_SEARCH_TABLE_INDEX, NID_TYPE_SEARCH_UPDATE_QUEUE, pstFile, table
-
-
Constructor Summary
Constructors Constructor Description PSTDistList(PSTFile theFile, DescriptorIndexNode descriptorIndexNode)
constructor.PSTDistList(PSTFile theFile, DescriptorIndexNode folderIndexNode, PSTTableBC table, java.util.HashMap<java.lang.Integer,PSTDescriptorItem> localDescriptorItems)
Internal constructor for performance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
findNextNullChar(byte[] data, int start)
Find the next two null bytes in an array given start.java.lang.Object[]
getDistributionListMembers()
Get an array of the members in this distribution list.private PSTDistList.OneOffEntry
parseOneOffEntry(byte[] data, int pos)
Parse a one-off entry from this Distribution List.-
Methods inherited from class com.pff.PSTMessage
getAcknowledgementMode, getActionDate, getActionFlag, getAttachment, getAttrHidden, getAttrReadonly, getAttrSystem, getBody, getBodyHTML, getBodyPrefix, getClientSubmitTime, getColorCategories, getConversationTopic, getDeleteAfterSubmit, getDisableFullFidelity, getDisplayBCC, getDisplayCC, getDisplayTo, getIconIndex, getImportance, getInReplyToId, getInternetArticleNumber, getInternetMessageId, getMessageCcMe, getMessageClass, getMessageDeliveryTime, getMessageRecipMe, getMessageSize, getMessageToMe, getNextSendAcct, getNumberOfAttachments, getNumberOfRecipients, getObjectType, getOriginalDisplayBcc, getOriginalDisplayCc, getOriginalDisplayTo, getOriginalSensitivity, getOriginalSubject, getOriginatorDeliveryReportRequested, getPidTagSentRepresentingSearchKey, getPrimarySendAccount, getPriority, getRcvdRepresentingAddrtype, getRcvdRepresentingEmailAddress, getRcvdRepresentingName, getReadReceiptRequested, getReceivedByAddress, getReceivedByAddressType, getReceivedByName, getRecipient, getRecipientReassignmentProhibited, getRecipientsString, getRecipientType, getReminderDelta, getReminderSet, getReplyRecipientNames, getResponseRequested, getResponsibility, getReturnPath, getRTFBody, getRTFSyncBodyCount, getRTFSyncBodyCRC, getRTFSyncBodyTag, getRTFSyncPrefixCount, getRTFSyncTrailingCount, getSenderAddrtype, getSenderEmailAddress, getSenderEntryId, getSenderName, getSensitivity, getSentRepresentingAddressType, getSentRepresentingAddrtype, getSentRepresentingEmailAddress, getSentRepresentingName, getSubject, getTaskDueDate, getTaskStartDate, getTransportMessageHeaders, getURLCompName, getURLCompNamePostfix, hasAttachments, hasForwarded, hasReplied, isAssociated, isFlagged, isFromMe, isNonReceiptNotificationRequested, isOriginatorNonDeliveryReportRequested, isRead, isReplyRequested, isResent, isRTFInSync, isSubmitted, isUnmodified, isUnsent, isURLCompNameSet, toString
-
Methods inherited from class com.pff.PSTObject
apptTimeToCalendar, apptTimeToUTC, convertBigEndianBytesToLong, convertLittleEndianBytesToLong, convertLittleEndianBytesToLong, createAppropriatePSTMessageObject, createJavaString, decode, detectAndLoadPSTObject, detectAndLoadPSTObject, encode, filetimeToDate, getAddrType, getBinaryItem, getBooleanItem, getBooleanItem, getComment, getCreationTime, getDateItem, getDescriptorNode, getDescriptorNodeId, getDisplayName, getDoubleItem, getDoubleItem, getEmailAddress, getIntItem, getIntItem, getItemsString, getLastModificationTime, getLongItem, getLongItem, getNodeType, getNodeType, getStringItem, getStringItem, getStringItem, getTimeZoneItem, guessPSTObjectType, printFormattedNumber, printFormattedNumber, printHexFormatted, printHexFormatted
-
-
-
-
Constructor Detail
-
PSTDistList
PSTDistList(PSTFile theFile, DescriptorIndexNode descriptorIndexNode) throws PSTException, java.io.IOException
constructor.- Parameters:
theFile
- pst filedescriptorIndexNode
- index of the list- Throws:
PSTException
- on parsing errorjava.io.IOException
- on data access error
-
PSTDistList
PSTDistList(PSTFile theFile, DescriptorIndexNode folderIndexNode, PSTTableBC table, java.util.HashMap<java.lang.Integer,PSTDescriptorItem> localDescriptorItems)
Internal constructor for performance.- Parameters:
theFile
- pst filefolderIndexNode
- index of the listtable
- the PSTTableBC this object is represented bylocalDescriptorItems
- additional external items that represent this object.
-
-
Method Detail
-
findNextNullChar
private int findNextNullChar(byte[] data, int start)
Find the next two null bytes in an array given start.- Parameters:
data
- the array to searchstart
- the starting index- Returns:
- position of the next null char
-
parseOneOffEntry
private PSTDistList.OneOffEntry parseOneOffEntry(byte[] data, int pos) throws java.io.IOException
Parse a one-off entry from this Distribution List.- Parameters:
data
- the item datapos
- the current position in the data.- Returns:
- the one-off entry
- Throws:
java.io.IOException
- on string reading fail
-
getDistributionListMembers
public java.lang.Object[] getDistributionListMembers() throws PSTException, java.io.IOException
Get an array of the members in this distribution list.- Returns:
- array of entries that can either be PSTDistList.OneOffEntry or a PSTObject, generally PSTContact.
- Throws:
PSTException
- on corrupted datajava.io.IOException
- on bad string reading
-
-