Class ZipPreviewer
java.lang.Object
org.nuxeo.ecm.platform.preview.adapter.ZipPreviewer
- All Implemented Interfaces:
MimeTypePreviewer
Previewer for Zip blobs.
It sanitizes each zip entry if needed.
- Since:
- 11.5
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPreview
(Blob blob, DocumentModel dm) protected boolean
isSanitizable
(Blob blob) protected Blob
-
Field Details
-
SANITIZE_ZIP_PREVIEW
- See Also:
-
HTML_MIME_TYPES
-
-
Constructor Details
-
ZipPreviewer
public ZipPreviewer()
-
-
Method Details
-
getPreview
- Specified by:
getPreview
in interfaceMimeTypePreviewer
- Throws:
PreviewException
-
sanitize
-
isSanitizable
-