public class RenderableImpl extends Object implements Renderable, RenditionService, ContentStoreAware
| Constructor and Description |
|---|
RenderableImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(String fromMimeType,
String toMimeType) |
String[] |
conversions(String fromMimeType) |
InputStream |
convert(String fromMimeType,
InputStream fromInputSource,
String toMimeType) |
InputStream |
getRendition(Object entity,
String mimeType) |
boolean |
hasRendition(Object entity,
String mimeType) |
void |
setContentStore(ContentStore store) |
void |
setDomainClass(Class<?> domainClass) |
void |
setIdClass(Class<?> idClass) |
void |
setProviders(RenditionProvider... providers) |
public void setDomainClass(Class<?> domainClass)
setDomainClass in interface ContentStoreAwarepublic void setIdClass(Class<?> idClass)
setIdClass in interface ContentStoreAwarepublic void setContentStore(ContentStore store)
setContentStore in interface ContentStoreAware@Autowired(required=false) public void setProviders(RenditionProvider... providers)
public boolean canConvert(String fromMimeType, String toMimeType)
canConvert in interface RenditionServicepublic String[] conversions(String fromMimeType)
conversions in interface RenditionServicepublic InputStream convert(String fromMimeType, InputStream fromInputSource, String toMimeType)
convert in interface RenditionServicepublic InputStream getRendition(Object entity, String mimeType)
getRendition in interface Renderablepublic boolean hasRendition(Object entity, String mimeType)
hasRendition in interface RenderableCopyright © 2021 Paul Warren. All rights reserved.