Package com.pff

Class PSTDistList


public class PSTDistList extends PSTMessage
PST DistList for extracting Addresses from Distribution lists.
  • Field Details

    • oneOffEntryIdUid

      private byte[] oneOffEntryIdUid
      identifier for one-off entries.
    • wrappedEntryIdUid

      private byte[] wrappedEntryIdUid
      identifier for wrapped entries.
  • Constructor Details

  • 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 search
      start - the starting index
      Returns:
      position of the next null char
    • parseOneOffEntry

      private PSTDistList.OneOffEntry parseOneOffEntry(byte[] data, int pos) throws IOException
      Parse a one-off entry from this Distribution List.
      Parameters:
      data - the item data
      pos - the current position in the data.
      Returns:
      the one-off entry
      Throws:
      IOException - on string reading fail
    • getDistributionListMembers

      public Object[] getDistributionListMembers() throws PSTException, 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 data
      IOException - on bad string reading