Class MultiPartImageDescriptor
java.lang.Object
com.atlassian.jira.lookandfeel.image.ImageDescriptor
com.atlassian.jira.lookandfeel.image.MultiPartImageDescriptor
This represents an image that is uploaded from a multipart
- Since:
- v4.4
-
Field Summary
Fields inherited from class com.atlassian.jira.lookandfeel.image.ImageDescriptor
contentType, fileName, imageData
-
Constructor Summary
ConstructorsConstructorDescriptionMultiPartImageDescriptor
(String parameterName, webwork.multipart.MultiPartRequestWrapper multiPart, I18nHelper i18nHelper) -
Method Summary
Methods inherited from class com.atlassian.jira.lookandfeel.image.ImageDescriptor
closeImageStreamQuietly, getContentType, getImageName, getImageUrl, getInputStream, setImageUrl
-
Constructor Details
-
MultiPartImageDescriptor
public MultiPartImageDescriptor(String parameterName, webwork.multipart.MultiPartRequestWrapper multiPart, I18nHelper i18nHelper) throws IOException - Throws:
IOException
-
-
Method Details
-
getImageDescriptorType
- Specified by:
getImageDescriptorType
in classImageDescriptor
-
getImageSize
public long getImageSize()- Specified by:
getImageSize
in classImageDescriptor
-