public class PreviewAdapterManagerComponent extends DefaultComponent implements PreviewAdapterManager
| Modifier and Type | Field and Description |
|---|---|
static String |
ADAPTER_FACTORY_EP |
static String |
BLOB_POST_PROCESSOR_EP |
static String |
PREVIEWED_MIME_TYPE |
| Constructor and Description |
|---|
PreviewAdapterManagerComponent() |
| Modifier and Type | Method and Description |
|---|---|
HtmlPreviewAdapter |
getAdapter(DocumentModel doc) |
List<BlobPostProcessor> |
getBlobPostProcessors() |
MimeTypePreviewer |
getPreviewer(String mimeType) |
boolean |
hasAdapter(DocumentModel doc) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtensionpublic static final String ADAPTER_FACTORY_EP
public static final String PREVIEWED_MIME_TYPE
public static final String BLOB_POST_PROCESSOR_EP
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution in class DefaultComponentExceptionpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
unregisterContribution in class DefaultComponentExceptionpublic boolean hasAdapter(DocumentModel doc)
hasAdapter in interface PreviewAdapterManagerpublic HtmlPreviewAdapter getAdapter(DocumentModel doc)
getAdapter in interface PreviewAdapterManagerpublic MimeTypePreviewer getPreviewer(String mimeType)
getPreviewer in interface PreviewAdapterManagerpublic List<BlobPostProcessor> getBlobPostProcessors()
getBlobPostProcessors in interface PreviewAdapterManagerCopyright © 2011 Nuxeo SA. All Rights Reserved.