Package com.pff
Class PSTDistList
java.lang.Object
com.pff.PSTObject
com.pff.PSTMessage
com.pff.PSTDistList
PST DistList for extracting Addresses from Distribution lists.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassInner class to represent distribution list one-off entries. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]identifier for one-off entries.private byte[]identifier for wrapped entries.Fields inherited from class com.pff.PSTMessage
IMPORTANCE_HIGH, IMPORTANCE_LOW, IMPORTANCE_NORMAL, RECIPIENT_TYPE_CC, RECIPIENT_TYPE_TOFields 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
ConstructorsConstructorDescriptionPSTDistList(PSTFile theFile, DescriptorIndexNode descriptorIndexNode) constructor.PSTDistList(PSTFile theFile, DescriptorIndexNode folderIndexNode, PSTTableBC table, HashMap<Integer, PSTDescriptorItem> localDescriptorItems) Internal constructor for performance. -
Method Summary
Modifier and TypeMethodDescriptionprivate intfindNextNullChar(byte[] data, int start) Find the next two null bytes in an array given start.Object[]Get an array of the members in this distribution list.private PSTDistList.OneOffEntryparseOneOffEntry(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, toStringMethods 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
-
Field Details
-
oneOffEntryIdUid
private byte[] oneOffEntryIdUididentifier for one-off entries. -
wrappedEntryIdUid
private byte[] wrappedEntryIdUididentifier for wrapped entries.
-
-
Constructor Details
-
PSTDistList
PSTDistList(PSTFile theFile, DescriptorIndexNode descriptorIndexNode) throws PSTException, IOException constructor.- Parameters:
theFile- pst filedescriptorIndexNode- index of the list- Throws:
PSTException- on parsing errorIOException- on data access error
-
PSTDistList
PSTDistList(PSTFile theFile, DescriptorIndexNode folderIndexNode, PSTTableBC table, HashMap<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 Details
-
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
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:
IOException- on string reading fail
-
getDistributionListMembers
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 dataIOException- on bad string reading
-