public class OwImagePreviewRenderer extends Object implements OwPreviewRenderer
Preview Renderer for image MIME types.
Will simply render the object as HTML img tag
.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwImagePreviewRenderer() |
public void render(Writer writer, Map<String,String> configuration, OwPreviewContext prevContext) throws OwException, IOException
OwPreviewRenderer
render
in interface OwPreviewRenderer
writer
- Writerconfiguration
- Map of String's defining configurationprevContext
- OwPreviewContext current preview contextOwException
- if configuration or preview context does not matchIOException
- if cannot use writer for renderingCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.