Class OutlookMessageAttachment

java.lang.Object
ch.astorm.jotlmsg.OutlookMessageAttachment

public class OutlookMessageAttachment extends Object
Represents a message attachment.
Author:
Cedric Tabin
  • Constructor Details

    • OutlookMessageAttachment

      public OutlookMessageAttachment(String name, String mimeType, OutlookMessageAttachment.InputStreamCreator creator)
      Creates a new OutlookMessageAttachment with the specified parameters.
      Parameters:
      name - The attachment's name.
      mimeType - The MIME type of the attachment.
      creator - The InputStreamCreator or null.
    • OutlookMessageAttachment

      public OutlookMessageAttachment(String name, String mimeType, InputStream input)
      Creates a new OutlookMessageAttachment with the specified parameters. A new MemoryInputStreamCreator will be created with the specified input as source.
      Parameters:
      name - The attachment's name.
      mimeType - The MIME type of the attachment.
      input - The input or null.
      See Also:
  • Method Details