Constructor and Description |
---|
AbstractImage() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Get the content content type of the resource, for example image/jpeg.
|
String |
getExtension()
Returns the normalised extension for this resource, e.g.
|
protected void |
setContentType(String contentType) |
protected void |
setExtension(String extension) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBytes, getByteString, getInputStream, getSize
public String getContentType()
Resource
getContentType
in interface Resource
public String getExtension()
Resource
getExtension
in interface Resource
protected void setExtension(String extension)
protected void setContentType(String contentType)
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries