Interface OutlookMessageAttachment.InputStreamCreator

  • All Known Implementing Classes:
    OutlookMessageAttachment.MemoryInputStreamCreator
    Enclosing class:
    OutlookMessageAttachment
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface OutlookMessageAttachment.InputStreamCreator
    Represents an InputStream creator.
    • Method Detail

      • newInputStream

        java.io.InputStream newInputStream​(OutlookMessageAttachment omt)
                                    throws java.io.IOException
        Creates a new InputStream for the specified OutlookMessageAttachment.
        Parameters:
        omt - The attachment.
        Returns:
        A new InputStream.
        Throws:
        java.io.IOException - If an I/O error occurs.