Package ch.astorm.jotlmsg
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 anInputStreamcreator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamnewInputStream(OutlookMessageAttachment omt)Creates a newInputStreamfor the specifiedOutlookMessageAttachment.
-
-
-
Method Detail
-
newInputStream
InputStream newInputStream(OutlookMessageAttachment omt) throws IOException
Creates a newInputStreamfor the specifiedOutlookMessageAttachment.- Parameters:
omt- The attachment.- Returns:
- A new
InputStream. - Throws:
IOException- If an I/O error occurs.
-
-