Class 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 Detail

      • ImageReplacer

        public ImageReplacer​(File file)
    • Method Detail

      • encodeImage

        public String encodeImage​(long docId)
                           throws IOException,
                                  com.logicaldoc.core.PersistenceException
        Throws:
        IOException
        com.logicaldoc.core.PersistenceException