Class OutlookMessageAttachment.MemoryInputStreamCreator

java.lang.Object
ch.astorm.jotlmsg.OutlookMessageAttachment.MemoryInputStreamCreator
All Implemented Interfaces:
OutlookMessageAttachment.InputStreamCreator
Enclosing class:
OutlookMessageAttachment

public static class OutlookMessageAttachment.MemoryInputStreamCreator extends Object implements OutlookMessageAttachment.InputStreamCreator
Wraps the creation of an InputStream from a given source InputStream. The content of the source InputStream will be stored in-memory.
  • Constructor Details

    • MemoryInputStreamCreator

      public MemoryInputStreamCreator(InputStream source)
      Creates a new MemoryInputStreamCreator with the specified source.
      Parameters:
      source - The source.
  • Method Details