Class ImageContentProvider
java.lang.Object
ro.sync.exml.workspace.api.images.handlers.providers.ImageContentProvider
- Direct Known Subclasses:
EmbeddedImageContentProvider
Provides access to the image contents...
- Since:
- 18
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an input stream which can be used to read the image contents.getUrl()
Get an URL pointing to the place where the image is located.
-
Constructor Details
-
ImageContentProvider
Constructor.- Parameters:
url
- The image URL.inputStream
- The input stream.
-
-
Method Details
-
getUrl
Get an URL pointing to the place where the image is located. If the image is embedded, this returnsnull
.- Returns:
- Returns an URL pointing to the place where the image is located. If the image is embedded, this returns
null
.
-
getInputStream
Get an input stream which can be used to read the image contents.- Returns:
- Returns an input stream which can be used to read the image contents. This is never
null
.
-