com.atlassian.confluence.importexport.impl
Class HtmlImageParser

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

public class HtmlImageParser
extends java.lang.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
 java.util.Set<ExportImageDescriptor> parse(char[] data, java.io.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 java.util.Set<ExportImageDescriptor> parse(char[] data,
                                                  java.io.Writer writer,
                                                  ImageProcessingRule rule)
                                           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2010 Atlassian. All Rights Reserved.