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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getType()
void
writeTo(java.io.OutputStream out)
Writes the image to the output stream.
-
-
-
Method Detail
-
writeTo
void writeTo(java.io.OutputStream out) throws java.io.IOException
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:
java.io.IOException
- If the underlying stream throws.
-
getType
java.lang.String getType()
- Returns:
- The type of the image that is written, or
null
if the type could not be determined.
-
-