blob: 03386d40398a4535e41aa8404e52a40572ad0233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package org.zwobble.mammoth.internal.docx;
import java.io.IOException;
import java.io.InputStream;
public class DisabledFileReader implements FileReader {
@Override
public InputStream getInputStream(String uri) throws IOException {
throw new IOException("could not open external image '" + uri + "': external file access is disabled");
}
}
|