Class HtmlImageParser
java.lang.Object
com.atlassian.confluence.importexport.impl.HtmlImageParser
This class parses html and extracts all the image tags required for exports
using the given image processing rule. At the same time of extraction, the
image source links are also replaced with the relative export path and written
to the given writer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse
(com.opensymphony.module.sitemesh.SitemeshBuffer sitemeshBuffer, Writer writer, ImageProcessingRule rule)
-
Constructor Details
-
HtmlImageParser
public HtmlImageParser()
-
-
Method Details
-
parse
public Set<ExportImageDescriptor> parse(com.opensymphony.module.sitemesh.SitemeshBuffer sitemeshBuffer, Writer writer, ImageProcessingRule rule) throws IOException - Throws:
IOException
-