Open beczesz opened 6 years ago
I tried to create a delegate class which is placed unser the same package but when it calls the method it says No implementation found for java.lang.String com.libmailcore.HTMLRendererTemplateCallbackUtils.cleanHTMLForPart(java.lang.String)
`package com.libmailcore;
import java.util.Map;
/**
https://github.com/MailCore/mailcore2/issues/1711 */ public class HTMLRendererTemplateCallbackUtilsDelegate {
static boolean canPreviewPart(AbstractPart var0) { return HTMLRendererTemplateCallbackUtils.canPreviewPart(var0); }
public static boolean shouldShowPart(AbstractPart var0) { return HTMLRendererTemplateCallbackUtils.shouldShowPart(var0); }
public static Map<String, Object> templateValuesForHeader(MessageHeader var0) { return HTMLRendererTemplateCallbackUtils.templateValuesForHeader(var0); }
public static Map<String, Object> templateValuesForPart(AbstractPart var0) { return HTMLRendererTemplateCallbackUtils.templateValuesForPart(var0); }
public static String templateForMainHeader(MessageHeader var0) { return HTMLRendererTemplateCallbackUtils.templateForMainHeader(var0); }
public static String templateForImage(AbstractPart var0) { return HTMLRendererTemplateCallbackUtils.templateForImage(var0); }
public static String templateForAttachment(AbstractPart var0) { return HTMLRendererTemplateCallbackUtils.templateForAttachment(var0); }
public static String templateForMessage(AbstractMessage var0) { return HTMLRendererTemplateCallbackUtils.templateForMessage(var0); }
public static String templateForEmbeddedMessage(AbstractMessagePart var0) { return HTMLRendererTemplateCallbackUtils.templateForEmbeddedMessage(var0); }
public static String templateForEmbeddedMessageHeader(MessageHeader var0) { return HTMLRendererTemplateCallbackUtils.templateForEmbeddedMessageHeader(var0); }
public static String templateForAttachmentSeparator() { return HTMLRendererTemplateCallbackUtils.templateForAttachmentSeparator(); }
public static String cleanHTMLForPart(String var0) { return HTMLRendererTemplateCallbackUtils.cleanHTMLForPart(var0); }
public static String filterHTMLForPart(String var0) { return HTMLRendererTemplateCallbackUtils.filterHTMLForPart(var0); }
public static String filterHTMLForMessage(String var0) { return HTMLRendererTemplateCallbackUtils.filterHTMLForMessage(var0); } } `
Hi,
I tried to implement my own HTMLRendererTemplateCallback and I need for some methods the default implementation which are provided by HTMLRendererTemplteCallbackUtils . Unfortunately all methods are package private so I can't call them. Is there another implementation?
Thank you, Szabolcs