Package com.logicaldoc.form
Class ImageReplacer
- java.lang.Object
 - 
- com.logicaldoc.form.ImageReplacer
 
 
- 
public class ImageReplacer extends Object
Processes an HTML looking for images that reference files inside LogicalDOC and converts them in the Base64 representation.- Since:
 - 7.7.3
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ImageReplacer(File file) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringencodeImage(long docId)voidreplaceImages() 
 - 
 
- 
- 
Constructor Detail
- 
ImageReplacer
public ImageReplacer(File file)
 
 - 
 
- 
Method Detail
- 
replaceImages
public void replaceImages() throws IOException- Throws:
 IOException
 
- 
encodeImage
public String encodeImage(long docId) throws IOException
- Throws:
 IOException
 
 - 
 
 -