Class URLImageDescriptor
java.lang.Object
com.atlassian.jira.lookandfeel.image.ImageDescriptor
com.atlassian.jira.lookandfeel.image.URLImageDescriptor
This represents an image that is uploaded from a provided URL
- Since:
- v4.4
-
Field Summary
Fields inherited from class com.atlassian.jira.lookandfeel.image.ImageDescriptor
contentType, fileName, imageData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getExtensionFromContentType
(String contentType) long
static boolean
isUrlSupported
(String url) Methods inherited from class com.atlassian.jira.lookandfeel.image.ImageDescriptor
closeImageStreamQuietly, getContentType, getImageName, getImageUrl, getInputStream, setImageUrl
-
Constructor Details
-
URLImageDescriptor
- Throws:
IOException
-
-
Method Details
-
getExtensionFromContentType
-
isUrlSupported
-
getImageDescriptorType
- Specified by:
getImageDescriptorType
in classImageDescriptor
-
getImageSize
public long getImageSize()- Specified by:
getImageSize
in classImageDescriptor
-