From ddde81cf806a5534a01483b563651bd84cf7452d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 13 Feb 2016 23:02:55 +0000 Subject: Read embedded blips in wp:inline --- src/main/java/org/zwobble/mammoth/documents/Image.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main/java/org/zwobble/mammoth/documents/Image.java') 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 altText; private final Optional contentType; -- cgit v1.2.3