public class HtmlElementInliner extends Object implements Closeable
| Constructor and Description |
|---|
HtmlElementInliner(QetcherHtmlInlineConfiguration configuration,
Function<URI,InternalResource> internalResourceLoader,
Supplier<Collection<Cookie>> cookieSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
inline(InputStream htmlInputStream,
String baseUri) |
public HtmlElementInliner(QetcherHtmlInlineConfiguration configuration, Function<URI,InternalResource> internalResourceLoader, Supplier<Collection<Cookie>> cookieSupplier)
public byte[] inline(InputStream htmlInputStream, String baseUri) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2013–2019 mklinger GmbH. All rights reserved.