com.atlassian.confluence.importexport.impl
Class HtmlImageParser

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.HtmlImageParser

public class HtmlImageParser
extends Object

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
HtmlImageParser()
           
 
Method Summary
 Set<ExportImageDescriptor> parse(char[] data, Writer writer, ImageProcessingRule rule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlImageParser

public HtmlImageParser()
Method Detail

parse

public Set<ExportImageDescriptor> parse(char[] data,
                                        Writer writer,
                                        ImageProcessingRule rule)
                                 throws IOException
Throws:
IOException


Copyright © 2003-2010 Atlassian. All Rights Reserved.