blob: 5d06b76dcca2bbe2d416796767e5d6590aa4b582 (
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 DocxFiles {
static InputStream getInputStream(DocxFile file, String name) throws IOException {
return file.tryGetInputStream(name)
.orElseThrow(() -> new IOException("Missing entry in file: " + name));
}
}
|