org.zwobble.mammoth.internal.docx.DocxFiles Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mammoth Show documentation
Show all versions of mammoth Show documentation
Convert Word documents to simple and clean HTML
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));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy