diff options
Diffstat (limited to 'src/main/java/org/zwobble/mammoth/documents/Image.java')
| -rw-r--r-- | src/main/java/org/zwobble/mammoth/documents/Image.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/org/zwobble/mammoth/documents/Image.java b/src/main/java/org/zwobble/mammoth/documents/Image.java index 7435cbf..8022ea4 100644 --- a/src/main/java/org/zwobble/mammoth/documents/Image.java +++ b/src/main/java/org/zwobble/mammoth/documents/Image.java @@ -1,14 +1,12 @@ package org.zwobble.mammoth.documents; +import org.zwobble.mammoth.util.InputStreamSupplier; + import java.io.IOException; import java.io.InputStream; import java.util.Optional; public class Image implements DocumentElement { - @FunctionalInterface - public interface InputStreamSupplier { - InputStream open() throws IOException; - } private final Optional<String> altText; private final Optional<String> contentType; |
