Package ro.sync.exml.workspace.api.util
Interface ImageHolder
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface ImageHolder
An image holder that can be written to an OutputStream and contains
additional information about the image.
- Since:
- 19.1
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
writeTo
(OutputStream out) Writes the image to the output stream.
-
Method Details
-
writeTo
Writes the image to the output stream. This method does not close the output stream. This method does not close or flush the output stream.- Parameters:
out
- The output stream.- Throws:
IOException
- If the underlying stream throws.
-
getType
String getType()- Returns:
- The type of the image that is written, or
null
if the type could not be determined.
-