Class HtmlPreviewer
- java.lang.Object
-
- org.nuxeo.ecm.platform.preview.adapter.AbstractPreviewer
-
- org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer
-
- org.nuxeo.ecm.platform.preview.adapter.HtmlPreviewer
-
- All Implemented Interfaces:
MimeTypePreviewer
public class HtmlPreviewer extends PlainTextPreviewer implements MimeTypePreviewer
Previewer for HTML content.It escape things differently than the plain text previewer.
-
-
Constructor Summary
Constructors Constructor Description HtmlPreviewer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
htmlContent(String content)
-
Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer
getPreview
-
Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.AbstractPreviewer
getPreviewTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.preview.adapter.MimeTypePreviewer
getPreview
-
-
-
-
Constructor Detail
-
HtmlPreviewer
public HtmlPreviewer()
-
-
Method Detail
-
htmlContent
public String htmlContent(String content)
- Overrides:
htmlContent
in classPlainTextPreviewer
-
-